Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 176.7 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.2 MB / 241 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 95.91 kB / 292.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3222/0.3222, allocations: 44.22 MB / 387.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002966, allocations: 8 kB / 460 MB, free: 1.398 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3062, allocations: 61.9 MB / 0.5097 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.4295, allocations: 95.18 MB / 0.6026 GB, free: 15.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.4298, allocations: 105.2 kB / 0.6027 GB, free: 15.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0367/0.4666, allocations: 14.02 MB / 0.6164 GB, free: 1.684 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4666, allocations: 0 / 0.6164 GB, free: 1.684 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.019e-05/0.4666, allocations: 4 kB / 0.6164 GB, free: 1.68 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001111/0.4678, allocations: 0.6601 MB / 0.617 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.4678, allocations: 12.03 kB / 0.6171 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001242/0.4679, allocations: 86.45 kB / 0.6171 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.493e-05/0.468, allocations: 43.53 kB / 0.6172 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/0.4685, allocations: 279.3 kB / 0.6174 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.4685, allocations: 29 kB / 0.6175 GB, free: 492 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.128e-05/0.4686, allocations: 36 kB / 0.6175 GB, free: 456 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009443/0.4695, allocations: 0.5652 MB / 0.6181 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4695, allocations: 0 / 0.6181 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.4696, allocations: 20 kB / 0.6181 GB, free: 15.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-05/0.4696, allocations: 17 kB / 0.6181 GB, free: 15.83 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000824/0.4705, allocations: 443.6 kB / 0.6185 GB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.4724, allocations: 1.297 MB / 0.6198 GB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005555/0.473, allocations: 319.5 kB / 0.6201 GB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.915e-05/0.473, allocations: 12.08 kB / 0.6201 GB, free: 13.69 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.4731, allocations: 42.5 kB / 0.6201 GB, free: 13.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 1.894e-06/0.4731, allocations: 0 / 0.6201 GB, free: 13.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.001322/0.4744, allocations: 0.7532 MB / 0.6209 GB, free: 12.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.4745, allocations: 106.8 kB / 0.621 GB, free: 12.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005455/0.4751, allocations: 453 kB / 0.6214 GB, free: 12.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.4751, allocations: 29.69 kB / 0.6214 GB, free: 12.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.4753, allocations: 204.2 kB / 0.6216 GB, free: 12.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.4753, allocations: 55.2 kB / 0.6217 GB, free: 11.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.4753, allocations: 4 kB / 0.6217 GB, free: 11.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.4755, allocations: 354.8 kB / 0.622 GB, free: 11.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.4758, allocations: 160.1 kB / 0.6222 GB, free: 11.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/0.4762, allocations: 235.2 kB / 0.6224 GB, free: 11.17 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003664/0.4766, allocations: 179.8 kB / 0.6226 GB, free: 10.99 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4766, allocations: 0 / 0.6226 GB, free: 10.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008883/0.4775, allocations: 472.9 kB / 0.623 GB, free: 10.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.4775, allocations: 4 kB / 0.623 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.546e-05/0.4776, allocations: 31.98 kB / 0.6231 GB, free: 10.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.4776, allocations: 4 kB / 0.6231 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.4778, allocations: 43.83 kB / 0.6231 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.4779, allocations: 4 kB / 0.6231 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.4782, allocations: 67.45 kB / 0.6232 GB, free: 10.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.4782, allocations: 19.92 kB / 0.6232 GB, free: 10.35 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002258/0.4784, allocations: 204.5 kB / 0.6234 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.867e-05/0.4785, allocations: 35.53 kB / 0.6234 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008476/0.4794, allocations: 446.7 kB / 0.6239 GB, free: 9.668 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.4794, allocations: 4 kB / 0.6239 GB, free: 9.664 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4794, allocations: 0 / 0.6239 GB, free: 9.664 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4794, allocations: 4 kB / 0.6239 GB, free: 9.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005476/0.48, allocations: 377.3 kB / 0.6242 GB, free: 9.242 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.992e-05/0.48, allocations: 27.98 kB / 0.6242 GB, free: 9.215 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.4802, allocations: 35.97 kB / 0.6243 GB, free: 9.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.4802, allocations: 3.984 kB / 0.6243 GB, free: 9.176 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.4803, allocations: 8 kB / 0.6243 GB, free: 9.168 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4803, allocations: 0 / 0.6243 GB, free: 9.168 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4803, allocations: 0 / 0.6243 GB, free: 9.168 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008771/0.4812, allocations: 0.6578 MB / 0.6249 GB, free: 8.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.4813, allocations: 112.6 kB / 0.625 GB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.637e-05/0.4814, allocations: 4 kB / 0.625 GB, free: 8.348 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.4817, allocations: 31.97 kB / 0.6251 GB, free: 8.316 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.231e-05/0.4818, allocations: 19.98 kB / 0.6251 GB, free: 8.297 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.4818, allocations: 11.98 kB / 0.6251 GB, free: 8.285 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003933/0.4822, allocations: 359 kB / 0.6254 GB, free: 7.934 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4822, allocations: 0 / 0.6254 GB, free: 7.934 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000642/0.4828, allocations: 139.8 kB / 0.6256 GB, free: 7.797 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001558/0.4844, allocations: 1.435 MB / 0.627 GB, free: 6.324 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009245/0.4853, allocations: 0.5847 MB / 0.6276 GB, free: 5.684 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4854, allocations: 0 / 0.6276 GB, free: 5.684 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005104/0.4859, allocations: 415.8 kB / 0.628 GB, free: 5.223 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.4864, allocations: 97.88 kB / 0.628 GB, free: 5.129 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004872/0.4913, allocations: 4.453 MB / 0.6324 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.4917, allocations: 0.8538 MB / 0.6332 GB, free: 15.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001885/0.4919, allocations: 63.23 kB / 0.6333 GB, free: 15.63 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.4921, allocations: 115.4 kB / 0.6334 GB, free: 15.52 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4921, allocations: 0 / 0.6334 GB, free: 15.52 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.5195, allocations: 11.58 MB / 0.6447 GB, free: 4.215 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/0.5198, allocations: 234.4 kB / 0.6449 GB, free: 3.977 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/2.818, allocations: 0 / 0.6449 GB, free: 3.977 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat does not exist to compare? outputFormat=mat