Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",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.001724/0.00173, allocations: 182.2 kB / 16.4 MB, free: 5.754 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.387/2.387, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001218/0.001217, allocations: 98.61 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5711/0.5711, allocations: 43.56 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004737/0.0004737, allocations: 16 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1342, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01256/0.1468, allocations: 7.494 MB / 497.8 MB, free: 3.617 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3419/0.4887, allocations: 12.95 MB / 0.4988 GB, free: 34.58 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.489, allocations: 0.9688 kB / 0.4988 GB, free: 34.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004075/0.4894, allocations: 54.02 kB / 0.4988 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01144/0.5009, allocations: 2.599 MB / 0.5014 GB, free: 34.37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006289/0.5015, allocations: 142.8 kB / 0.5015 GB, free: 34.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01488/0.5164, allocations: 7.151 MB / 0.5085 GB, free: 33.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.804e-05/0.5166, allocations: 20.36 kB / 0.5085 GB, free: 33.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.5168, allocations: 136.1 kB / 0.5086 GB, free: 33.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02821/0.545, allocations: 13.84 MB / 0.5222 GB, free: 32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.369e-05/0.5452, allocations: 6.969 kB / 0.5222 GB, free: 32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008233/0.5534, allocations: 2.154 MB / 0.5243 GB, free: 31.51 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.5536, allocations: 41.02 kB / 0.5243 GB, free: 31.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.5538, allocations: 72.77 kB / 0.5244 GB, free: 31.44 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003686/0.5575, allocations: 1.021 MB / 0.5254 GB, free: 31.13 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.5575, allocations: 1.188 kB / 0.5254 GB, free: 31.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.5575, allocations: 0 / 0.5254 GB, free: 31.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.5575, allocations: 0 / 0.5254 GB, free: 31.13 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003198/0.5608, allocations: 0.8631 MB / 0.5262 GB, free: 30.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.5608, allocations: 13.2 kB / 0.5262 GB, free: 30.53 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.561, allocations: 69.36 kB / 0.5263 GB, free: 30.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008155/0.5618, allocations: 77.7 kB / 0.5264 GB, free: 30.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.5622, allocations: 240 kB / 0.5266 GB, free: 30.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.5622, allocations: 23.78 kB / 0.5266 GB, free: 30.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-05/0.5623, allocations: 25.66 kB / 0.5266 GB, free: 30.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.5636, allocations: 476.5 kB / 0.5271 GB, free: 29.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.5636, allocations: 1.594 kB / 0.5271 GB, free: 29.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-05/0.5637, allocations: 16 kB / 0.5271 GB, free: 29.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.5637, allocations: 6.156 kB / 0.5271 GB, free: 29.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.5655, allocations: 0.6799 MB / 0.5278 GB, free: 29.8 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01136/0.5769, allocations: 4.328 MB / 0.532 GB, free: 26.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007578/0.5776, allocations: 159.7 kB / 0.5322 GB, free: 26.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03601/0.6137, allocations: 14.37 MB / 0.5462 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008932/0.6146, allocations: 315.8 kB / 0.5465 GB, free: 13.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 2.945e-06/0.6147, allocations: 4 kB / 0.5465 GB, free: 13.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001924/0.6166, allocations: 436.1 kB / 0.5469 GB, free: 12.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.6168, allocations: 484.8 kB / 0.5474 GB, free: 12.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.617, allocations: 183 kB / 0.5475 GB, free: 12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/0.6171, allocations: 34.36 kB / 0.5476 GB, free: 11.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.6172, allocations: 252.1 kB / 0.5478 GB, free: 11.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.6173, allocations: 103.6 kB / 0.5479 GB, free: 11.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.6174, allocations: 8 kB / 0.5479 GB, free: 11.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.834e-05/0.6175, allocations: 332.5 kB / 0.5482 GB, free: 11.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.6176, allocations: 63.92 kB / 0.5483 GB, free: 11.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/0.618, allocations: 313.2 kB / 0.5486 GB, free: 10.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.6183, allocations: 104.9 kB / 0.5487 GB, free: 10.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.6183, allocations: 4 kB / 0.5487 GB, free: 10.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009596/0.6192, allocations: 398 kB / 0.5491 GB, free: 10.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.6193, allocations: 12.66 kB / 0.5491 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.6193, allocations: 11.95 kB / 0.5491 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.119e-05/0.6194, allocations: 12 kB / 0.5491 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005963/0.62, allocations: 106.8 kB / 0.5492 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.193e-05/0.62, allocations: 18.28 kB / 0.5492 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004512/0.6205, allocations: 48.09 kB / 0.5493 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.573e-05/0.6206, allocations: 30.39 kB / 0.5493 GB, free: 10.17 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002013/0.6208, allocations: 156.1 kB / 0.5495 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.468e-05/0.6209, allocations: 29.5 kB / 0.5495 GB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.6225, allocations: 0.8056 MB / 0.5503 GB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.6226, allocations: 13.91 kB / 0.5503 GB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.6226, allocations: 0 / 0.5503 GB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.6226, allocations: 5.219 kB / 0.5503 GB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.6242, allocations: 1.208 MB / 0.5515 GB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.6242, allocations: 4.875 kB / 0.5515 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.6244, allocations: 29.77 kB / 0.5515 GB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/0.6245, allocations: 11.94 kB / 0.5515 GB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.6245, allocations: 11.94 kB / 0.5515 GB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/0.6245, allocations: 4.844 kB / 0.5515 GB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.6245, allocations: 4 kB / 0.5515 GB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005257/0.625, allocations: 493.4 kB / 0.552 GB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/0.6254, allocations: 217.1 kB / 0.5522 GB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.036e-05/0.6255, allocations: 9.172 kB / 0.5522 GB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004319/0.6259, allocations: 18.48 kB / 0.5522 GB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.626, allocations: 24.66 kB / 0.5523 GB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.626, allocations: 12.7 kB / 0.5523 GB, free: 7.148 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004744/0.6265, allocations: 289.8 kB / 0.5526 GB, free: 6.906 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6265, allocations: 0 / 0.5526 GB, free: 6.906 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001954/0.6285, allocations: 431.3 kB / 0.553 GB, free: 6.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003303/0.6318, allocations: 2.229 MB / 0.5551 GB, free: 20.26 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006586/0.6325, allocations: 221.5 kB / 0.5554 GB, free: 20.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.6325, allocations: 0 / 0.5554 GB, free: 20.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.6327, allocations: 87.02 kB / 0.5554 GB, free: 19.99 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009611/0.6337, allocations: 89.59 kB / 0.5555 GB, free: 19.92 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007428/0.6411, allocations: 8.037 MB / 0.5634 GB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/0.6418, allocations: 0.817 MB / 0.5642 GB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/0.6421, allocations: 148.1 kB / 0.5643 GB, free: 10.94 MB / 394.7 MB Notification: Performance of SimCode: time 1.823e-06/0.6421, allocations: 7.938 kB / 0.5643 GB, free: 10.93 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.847/3.489, allocations: 12.37 MB / 0.5764 GB, free: 15.46 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat