Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.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) 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(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1",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.001633/0.001637, allocations: 187.6 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.4 MB / 222.5 MB, free: 13.77 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.003259/0.003259, allocations: 90.8 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005166/0.0005169, allocations: 8 kB / 327 MB, free: 15.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0982/0.09876, allocations: 47.58 MB / 374.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2922/0.391, allocations: 16.38 MB / 391 MB, free: 9.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008319/0.3994, allocations: 4.76 MB / 395.8 MB, free: 9.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004896/0.3999, allocations: 5.562 kB / 395.8 MB, free: 9.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008736/0.4008, allocations: 177.6 kB / 395.9 MB, free: 9.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008581/0.4017, allocations: 221.9 kB / 396.2 MB, free: 9.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005865/0.4076, allocations: 1.202 MB / 397.4 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.409, allocations: 0.489 MB / 397.9 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.4093, allocations: 73.89 kB / 397.9 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01841/0.4278, allocations: 7.232 MB / 405.2 MB, free: 8.871 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004017/0.4282, allocations: 170.7 kB / 405.3 MB, free: 8.832 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.318e-05/0.4283, allocations: 14.12 kB / 405.3 MB, free: 8.832 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002722/0.431, allocations: 0.7239 MB / 406.1 MB, free: 8.828 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.4313, allocations: 73.12 kB / 406.1 MB, free: 8.816 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002892/0.4316, allocations: 95.17 kB / 406.2 MB, free: 8.777 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001918/0.4335, allocations: 0.5975 MB / 406.8 MB, free: 8.742 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4336, allocations: 0 / 406.8 MB, free: 8.742 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.4336, allocations: 4 kB / 406.8 MB, free: 8.738 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.4336, allocations: 0 / 406.8 MB, free: 8.738 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001302/0.4349, allocations: 0.5879 MB / 407.4 MB, free: 8.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.435, allocations: 11.09 kB / 407.4 MB, free: 8.266 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.769e-05/0.4351, allocations: 62.5 kB / 407.5 MB, free: 8.227 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006047/0.4357, allocations: 58.5 kB / 407.5 MB, free: 8.211 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.4362, allocations: 271.1 kB / 407.8 MB, free: 7.992 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.4363, allocations: 30.27 kB / 407.8 MB, free: 7.984 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.045e-05/0.4363, allocations: 29.67 kB / 407.9 MB, free: 7.984 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007221/0.4371, allocations: 326.2 kB / 408.2 MB, free: 7.863 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.4371, allocations: 11.88 kB / 408.2 MB, free: 7.852 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.189e-05/0.4372, allocations: 12.91 kB / 408.2 MB, free: 7.852 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.4372, allocations: 9.719 kB / 408.2 MB, free: 7.852 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004822/0.4377, allocations: 209 kB / 408.4 MB, free: 7.836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02028/0.458, allocations: 5.907 MB / 414.3 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004672/0.4585, allocations: 176 kB / 414.5 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01778/0.4763, allocations: 3.881 MB / 418.4 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.094e-05/0.4764, allocations: 30.75 kB / 418.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.325e-06/0.4764, allocations: 0 / 418.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.01013/0.4865, allocations: 1.427 MB / 419.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.4866, allocations: 55.41 kB / 419.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004208/0.4871, allocations: 254.6 kB / 420.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.625e-05/0.4871, allocations: 29.7 kB / 420.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.4873, allocations: 245.4 kB / 420.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.4874, allocations: 96.61 kB / 420.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/0.4875, allocations: 4 kB / 420.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4876, allocations: 336.7 kB / 420.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.4879, allocations: 91.97 kB / 420.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.4883, allocations: 188.6 kB / 421.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.4886, allocations: 116.4 kB / 421.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4886, allocations: 0 / 421.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001137/0.4898, allocations: 383.4 kB / 421.6 MB, free: 12.37 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.4898, allocations: 8 kB / 421.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.4899, allocations: 4 kB / 421.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005991/0.4959, allocations: 401.7 kB / 422 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005578/0.4965, allocations: 71.91 kB / 422.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.4988, allocations: 1.895 MB / 424 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/0.4993, allocations: 12 kB / 424 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.4993, allocations: 16 kB / 424 MB, free: 9.816 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002893/0.4996, allocations: 165.7 kB / 424.2 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-05/0.4997, allocations: 35.64 kB / 424.2 MB, free: 9.609 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.5009, allocations: 491.4 kB / 424.7 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.501, allocations: 0 / 424.7 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.501, allocations: 4 kB / 424.7 MB, free: 9.113 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001054/0.5021, allocations: 0.7234 MB / 425.4 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.5042, allocations: 0.9502 MB / 426.4 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.5043, allocations: 0 / 426.4 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.5046, allocations: 39.98 kB / 426.4 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003055/0.5077, allocations: 332.4 kB / 426.7 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.618e-05/0.5078, allocations: 8 kB / 426.7 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000772/0.5086, allocations: 0.6383 MB / 427.4 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/0.5086, allocations: 7.953 kB / 427.4 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.5102, allocations: 0.7453 MB / 428.1 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.5104, allocations: 100.8 kB / 428.2 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/0.5105, allocations: 11.95 kB / 428.2 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.5109, allocations: 15.89 kB / 428.2 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.5109, allocations: 20.05 kB / 428.3 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/0.511, allocations: 11.98 kB / 428.3 MB, free: 5.293 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00029/0.5113, allocations: 182 kB / 428.5 MB, free: 5.113 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5113, allocations: 4 kB / 428.5 MB, free: 5.109 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001102/0.5124, allocations: 183.9 kB / 428.6 MB, free: 4.93 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (25): * Single equations (assignments): 23 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002946/0.5154, allocations: 1.5 MB / 430.1 MB, free: 3.418 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.5166, allocations: 455 kB / 430.6 MB, free: 2.961 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.5167, allocations: 0 / 430.6 MB, free: 2.961 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008207/0.5175, allocations: 227.8 kB / 430.8 MB, free: 2.738 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.5192, allocations: 161.2 kB / 431 MB, free: 2.582 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006008/0.5252, allocations: 3.896 MB / 434.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.5257, allocations: 0.7799 MB / 435.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.526, allocations: 107.4 kB / 435.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of SimCode: time 1.022e-06/0.526, allocations: 0 / 435.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.081/3.607, allocations: 9.819 MB / 445.6 MB, free: 3.844 MB / 314.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat