Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006701/0.006701, allocations: 167.8 kB / 15.13 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.4 MB / 221.3 MB, free: 13.8 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008968/0.0008966, allocations: 82.31 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8142/0.8142, allocations: 90.59 MB / 408.5 MB, free: 14.95 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003174, allocations: 8 kB / 485.4 MB, free: 1.934 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4461/0.4464, allocations: 66.27 MB / 0.5387 GB, free: 45.11 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.1932/0.6397, allocations: 149.6 MB / 0.6848 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01483/0.6545, allocations: 11.9 MB / 0.6964 GB, free: 9.973 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.6559, allocations: 23.88 kB / 0.6964 GB, free: 9.949 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001657/0.6576, allocations: 489.4 kB / 0.6969 GB, free: 9.469 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002889/0.6605, allocations: 0.7377 MB / 0.6976 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.6629, allocations: 0.5955 MB / 0.6982 GB, free: 8.129 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001756/0.6647, allocations: 1.205 MB / 0.6994 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004567/0.6652, allocations: 248.7 kB / 0.6996 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006957/0.6659, allocations: 390.4 kB / 0.7 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007137/0.6666, allocations: 0.5331 MB / 0.7005 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.883e-05/0.6667, allocations: 35.94 kB / 0.7005 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003062/0.6697, allocations: 1.24 MB / 0.7017 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.6699, allocations: 119.4 kB / 0.7018 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.6701, allocations: 189.2 kB / 0.702 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.6715, allocations: 0.9391 MB / 0.7029 GB, free: 3.215 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.6715, allocations: 0 / 0.7029 GB, free: 3.215 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6715, allocations: 0 / 0.7029 GB, free: 3.215 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.6715, allocations: 0 / 0.7029 GB, free: 3.215 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001943/0.6735, allocations: 1.096 MB / 0.704 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.6735, allocations: 12.03 kB / 0.704 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/0.6736, allocations: 112.9 kB / 0.7041 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.6738, allocations: 98.83 kB / 0.7042 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000642/0.6744, allocations: 498.5 kB / 0.7047 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.533e-05/0.6745, allocations: 50 kB / 0.7047 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-05/0.6746, allocations: 72 kB / 0.7048 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.6757, allocations: 0.6594 MB / 0.7055 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.6758, allocations: 0 / 0.7055 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.818e-05/0.6758, allocations: 27.94 kB / 0.7055 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.6758, allocations: 16 kB / 0.7055 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.6769, allocations: 0.6481 MB / 0.7061 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003492/0.6804, allocations: 3.165 MB / 0.7092 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.6817, allocations: 0.6778 MB / 0.7099 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004316/0.6822, allocations: 270.5 kB / 0.7101 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002566/0.6848, allocations: 2.608 MB / 0.7127 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.6848, allocations: 42.88 kB / 0.7127 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=57): time 2.134e-06/0.6848, allocations: 0 / 0.7127 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58): time 0.003732/0.6886, allocations: 1.79 MB / 0.7145 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.6886, allocations: 59.91 kB / 0.7145 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005489/0.6892, allocations: 446.9 kB / 0.715 GB, free: 5.898 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.6893, allocations: 33.7 kB / 0.715 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.6895, allocations: 348.2 kB / 0.7153 GB, free: 5.516 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.6897, allocations: 201 kB / 0.7155 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.6897, allocations: 15.94 kB / 0.7155 GB, free: 5.301 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.6899, allocations: 374.7 kB / 0.7159 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.6903, allocations: 177 kB / 0.7161 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/0.6906, allocations: 229.5 kB / 0.7163 GB, free: 4.516 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/0.691, allocations: 206.2 kB / 0.7165 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.691, allocations: 0 / 0.7165 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001234/0.6923, allocations: 0.6411 MB / 0.7171 GB, free: 3.664 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.6923, allocations: 11.98 kB / 0.7171 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.6923, allocations: 0 / 0.7171 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003999/0.6927, allocations: 101.6 kB / 0.7172 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.6931, allocations: 107.8 kB / 0.7173 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.6953, allocations: 1.893 MB / 0.7192 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.6957, allocations: 43.97 kB / 0.7192 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.126e-05/0.6958, allocations: 28.53 kB / 0.7192 GB, free: 1.348 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003077/0.6961, allocations: 193.8 kB / 0.7194 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.6962, allocations: 59.25 kB / 0.7195 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/0.6978, allocations: 0.8032 MB / 0.7203 GB, free: 300 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.6979, allocations: 8 kB / 0.7203 GB, free: 292 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6979, allocations: 0 / 0.7203 GB, free: 292 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.6979, allocations: 3.984 kB / 0.7203 GB, free: 288 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/0.7004, allocations: 1.568 MB / 0.7218 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.7004, allocations: 0 / 0.7218 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003619/0.7008, allocations: 111.8 kB / 0.7219 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003564/0.7011, allocations: 112.7 kB / 0.722 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/0.7012, allocations: 19.98 kB / 0.722 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/0.7032, allocations: 1.895 MB / 0.7239 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.7033, allocations: 8.016 kB / 0.7239 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.7051, allocations: 1.045 MB / 0.7249 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.7053, allocations: 132.3 kB / 0.725 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.273e-05/0.7054, allocations: 12 kB / 0.725 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/0.7057, allocations: 51.94 kB / 0.7251 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.7058, allocations: 48.48 kB / 0.7251 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/0.7059, allocations: 23.98 kB / 0.7252 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003722/0.7063, allocations: 310.9 kB / 0.7255 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7063, allocations: 4 kB / 0.7255 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001056/0.7074, allocations: 323.8 kB / 0.7258 GB, free: 10.4 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (flowResistance1.inlet.m_flow,flowResistance2.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002839/0.7102, allocations: 1.976 MB / 0.7277 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.7116, allocations: 0.6914 MB / 0.7284 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.7117, allocations: 0 / 0.7284 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000821/0.7125, allocations: 0.5007 MB / 0.7289 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.7136, allocations: 176.3 kB / 0.729 GB, free: 7.012 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006272/0.7199, allocations: 3.873 MB / 0.7328 GB, free: 3.059 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/0.7205, allocations: 0.9458 MB / 0.7337 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004852/0.721, allocations: 125.4 kB / 0.7339 GB, free: 1.969 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003772/0.7214, allocations: 299.3 kB / 0.7341 GB, free: 1.676 MB / 0.5417 GB Notification: Performance of SimCode: time 9.72e-07/0.7214, allocations: 0 / 0.7341 GB, free: 1.676 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.303/1.024, allocations: 20.48 MB / 0.7542 GB, free: 179.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/1.025, allocations: 224.2 kB / 0.7544 GB, free: 179 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.697/3.722, allocations: 3.828 kB / 0.7544 GB, free: 179 MB / 0.5573 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_TanValve_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_TanValve.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve_res.mat does not exist to compare? outputFormat=mat