Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",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.007369/0.007369, allocations: 171.8 kB / 15.12 MB, free: 6.027 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.763/1.763, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0009386/0.0009388, allocations: 90.86 kB / 269.6 MB, free: 13.35 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.9027/0.9027, allocations: 90.6 MB / 408.4 MB, free: 14.96 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000543/0.0005431, allocations: 8 kB / 485.3 MB, free: 1.98 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5147/0.5153, allocations: 66.29 MB / 0.5387 GB, free: 45.54 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.2189/0.7342, allocations: 158.8 MB / 0.6937 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01854/0.7528, allocations: 14.14 MB / 0.7075 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.7538, allocations: 15.88 kB / 0.7076 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.7552, allocations: 370.2 kB / 0.7079 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.004059/0.7593, allocations: 1.106 MB / 0.709 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.006358/0.7657, allocations: 1.817 MB / 0.7108 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001983/0.7677, allocations: 0.7255 MB / 0.7115 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000563/0.7682, allocations: 195.8 kB / 0.7117 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002099/0.7704, allocations: 0.7715 MB / 0.7124 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007322/0.7711, allocations: 342.4 kB / 0.7127 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.7713, allocations: 36 kB / 0.7128 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008377/0.7797, allocations: 3.195 MB / 0.7159 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003367/0.7801, allocations: 119.5 kB / 0.716 GB, free: 5.969 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004298/0.7805, allocations: 169.3 kB / 0.7162 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.004298/0.7849, allocations: 1.522 MB / 0.7177 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.7849, allocations: 0 / 0.7177 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.965e-06/0.7849, allocations: 4 kB / 0.7177 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.754e-05/0.785, allocations: 0 / 0.7177 GB, free: 4.273 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004518/0.7895, allocations: 1.314 MB / 0.719 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.7896, allocations: 8.031 kB / 0.719 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003031/0.7899, allocations: 119.3 kB / 0.7191 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.7917, allocations: 198.7 kB / 0.7193 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009703/0.7927, allocations: 468.5 kB / 0.7197 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002595/0.793, allocations: 184.1 kB / 0.7199 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.7931, allocations: 64 kB / 0.7199 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.7949, allocations: 0.7288 MB / 0.7207 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.795, allocations: 0 / 0.7207 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.379e-05/0.795, allocations: 28 kB / 0.7207 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.7951, allocations: 16 kB / 0.7207 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.7967, allocations: 0.6565 MB / 0.7213 GB, free: 400 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004622/0.8014, allocations: 2.796 MB / 0.7241 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.803, allocations: 0.657 MB / 0.7247 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.804, allocations: 0.945 MB / 0.7256 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.8041, allocations: 43.08 kB / 0.7257 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=63): time 2.996e-06/0.8041, allocations: 0 / 0.7257 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=63): time 0.005621/0.8097, allocations: 2.121 MB / 0.7277 GB, free: 9.258 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.8098, allocations: 59.97 kB / 0.7278 GB, free: 9.184 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005195/0.8103, allocations: 386 kB / 0.7282 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.022e-05/0.8104, allocations: 37.7 kB / 0.7282 GB, free: 8.762 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.8106, allocations: 312.5 kB / 0.7285 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002323/0.8109, allocations: 224.7 kB / 0.7287 GB, free: 8.227 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.8109, allocations: 15.94 kB / 0.7287 GB, free: 8.211 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.8111, allocations: 366.7 kB / 0.7291 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007508/0.8119, allocations: 293 kB / 0.7294 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006816/0.8126, allocations: 292.9 kB / 0.7296 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007001/0.8133, allocations: 298.1 kB / 0.7299 GB, free: 6.984 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.8133, allocations: 4 kB / 0.7299 GB, free: 6.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003033/0.8163, allocations: 1.129 MB / 0.731 GB, free: 5.832 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.8164, allocations: 8 kB / 0.731 GB, free: 5.824 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.8164, allocations: 0 / 0.731 GB, free: 5.824 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008585/0.8172, allocations: 258.3 kB / 0.7313 GB, free: 5.562 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007043/0.818, allocations: 143.8 kB / 0.7314 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006629/0.8246, allocations: 4.965 MB / 0.7363 GB, free: 60 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007525/0.8254, allocations: 79.69 kB / 0.7364 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/0.8256, allocations: 45.42 kB / 0.7364 GB, free: 15.94 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004816/0.8261, allocations: 185.8 kB / 0.7366 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.8263, allocations: 55.33 kB / 0.7366 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003901/0.8302, allocations: 1.347 MB / 0.7379 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.8302, allocations: 11.94 kB / 0.738 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.8302, allocations: 0 / 0.738 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.8303, allocations: 7.984 kB / 0.738 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004851/0.8351, allocations: 2.129 MB / 0.74 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.8352, allocations: 3.984 kB / 0.74 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007686/0.8359, allocations: 151.9 kB / 0.7402 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00078/0.8367, allocations: 262.2 kB / 0.7404 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.533e-05/0.8368, allocations: 32.84 kB / 0.7405 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006175/0.843, allocations: 4.97 MB / 0.7453 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.843, allocations: 0 / 0.7453 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004021/0.8471, allocations: 1.62 MB / 0.7469 GB, free: 4.648 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002784/0.8474, allocations: 136.3 kB / 0.747 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.8475, allocations: 12 kB / 0.747 GB, free: 4.484 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000597/0.8481, allocations: 63.95 kB / 0.7471 GB, free: 4.422 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.8483, allocations: 62.36 kB / 0.7472 GB, free: 4.363 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.8484, allocations: 43.97 kB / 0.7472 GB, free: 4.32 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003743/0.8488, allocations: 283.1 kB / 0.7475 GB, free: 4.043 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8488, allocations: 0 / 0.7475 GB, free: 4.043 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001838/0.8506, allocations: 0.5461 MB / 0.748 GB, free: 3.496 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.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 (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007029/0.8577, allocations: 3.046 MB / 0.751 GB, free: 428 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2624/1.12, allocations: 1.245 MB / 0.7522 GB, free: 179.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/1.12, allocations: 0 / 0.7522 GB, free: 179.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001672/1.122, allocations: 0.9561 MB / 0.7531 GB, free: 179.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008053/1.123, allocations: 137 kB / 0.7533 GB, free: 179.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008133/1.131, allocations: 4.607 MB / 0.7578 GB, free: 177.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/1.131, allocations: 0.9385 MB / 0.7587 GB, free: 177.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001808/1.133, allocations: 169.2 kB / 0.7588 GB, free: 177.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009059/1.134, allocations: 310.4 kB / 0.7591 GB, free: 177.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.433e-06/1.134, allocations: 4 kB / 0.7591 GB, free: 177.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07986/1.214, allocations: 25.02 MB / 0.7836 GB, free: 171.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002707/1.214, allocations: 278.5 kB / 0.7838 GB, free: 171.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.06/4.275, allocations: 3.938 kB / 0.7838 GB, free: 171.4 MB / 0.5573 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat does not exist to compare? outputFormat=mat