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.002257/0.002256, allocations: 179.4 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.592/2.592, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001167, allocations: 84.2 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3461/0.3461, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.002e-05/2.011e-05, allocations: 224 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4233, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.985/2.408, allocations: 0.6451 GB / 1.111 GB, free: 90.04 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/2.409, allocations: 77.27 kB / 1.111 GB, free: 90 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.6719/3.081, allocations: 108.7 MB / 1.217 GB, free: 142.2 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.433e-06/3.081, allocations: 1.031 kB / 1.217 GB, free: 142.2 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.708e-05/3.081, allocations: 3.25 kB / 1.217 GB, free: 142.2 MB / 0.4952 GB 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.004163/3.085, allocations: 1.045 MB / 1.218 GB, free: 141.6 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/3.085, allocations: 10.22 kB / 1.218 GB, free: 141.6 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008473/3.086, allocations: 76.69 kB / 1.218 GB, free: 141.6 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/3.086, allocations: 252.5 kB / 1.219 GB, free: 141.4 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/3.086, allocations: 9.75 kB / 1.219 GB, free: 141.4 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/3.086, allocations: 14.78 kB / 1.219 GB, free: 141.4 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001126/3.088, allocations: 0.5916 MB / 1.219 GB, free: 141.4 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/3.088, allocations: 349.8 kB / 1.22 GB, free: 141.3 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/3.088, allocations: 4.844 kB / 1.22 GB, free: 141.3 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/3.088, allocations: 1.156 kB / 1.22 GB, free: 141.3 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/3.088, allocations: 7.281 kB / 1.22 GB, free: 141.3 MB / 0.4952 GB Warning: The model contains alias variables with conflicting start and/or 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.08829/3.177, allocations: 29.49 MB / 1.248 GB, free: 123.3 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/3.177, allocations: 35.02 kB / 1.248 GB, free: 123.3 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.959e-05/3.177, allocations: 16.05 kB / 1.248 GB, free: 123.3 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01436/3.191, allocations: 3.544 MB / 1.252 GB, free: 121.6 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/3.192, allocations: 78.92 kB / 1.252 GB, free: 121.5 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=6): time 3.336e-06/3.192, allocations: 0 / 1.252 GB, free: 121.5 MB / 0.4952 GB Notification: Performance of matching and sorting (n=6): time 0.0009796/3.193, allocations: 163.9 kB / 1.252 GB, free: 121.5 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/3.193, allocations: 55.11 kB / 1.252 GB, free: 121.4 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/3.193, allocations: 217.9 kB / 1.252 GB, free: 121.3 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/3.193, allocations: 25.7 kB / 1.252 GB, free: 121.3 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/3.193, allocations: 324.2 kB / 1.253 GB, free: 121 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/3.193, allocations: 32.06 kB / 1.253 GB, free: 121 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.94e-05/3.193, allocations: 0 / 1.253 GB, free: 121 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 6.839e-05/3.193, allocations: 333.4 kB / 1.253 GB, free: 120.7 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/3.193, allocations: 53.06 kB / 1.253 GB, free: 120.7 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/3.194, allocations: 292.8 kB / 1.253 GB, free: 120.3 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/3.195, allocations: 214.2 kB / 1.254 GB, free: 120.3 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/3.195, allocations: 10.48 kB / 1.254 GB, free: 120.3 MB / 0.4952 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002338/3.198, allocations: 448.2 kB / 1.254 GB, free: 120.3 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/3.198, allocations: 9.969 kB / 1.254 GB, free: 120.3 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/3.198, allocations: 7.344 kB / 1.254 GB, free: 120.3 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.407e-05/3.198, allocations: 13.69 kB / 1.254 GB, free: 120.3 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005549/3.199, allocations: 105.7 kB / 1.254 GB, free: 120.3 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/3.199, allocations: 15 kB / 1.254 GB, free: 120.3 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/3.199, allocations: 53.72 kB / 1.254 GB, free: 120.2 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-05/3.199, allocations: 31.59 kB / 1.254 GB, free: 120.2 MB / 0.4952 GB 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 () * 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.0001255/3.199, allocations: 123.6 kB / 1.254 GB, free: 120.1 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002833/3.2, allocations: 84.34 kB / 1.254 GB, free: 120.1 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/3.2, allocations: 22.47 kB / 1.254 GB, free: 120.1 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004037/3.2, allocations: 148.6 kB / 1.255 GB, free: 120 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/3.2, allocations: 3.625 kB / 1.255 GB, free: 120 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/3.2, allocations: 0 / 1.255 GB, free: 120 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/3.2, allocations: 0 / 1.255 GB, free: 120 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000579/3.201, allocations: 432.1 kB / 1.255 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/3.201, allocations: 3.844 kB / 1.255 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.181e-05/3.201, allocations: 10.94 kB / 1.255 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/3.201, allocations: 0 / 1.255 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/3.201, allocations: 8 kB / 1.255 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/3.201, allocations: 0 / 1.255 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/3.201, allocations: 0 / 1.255 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/3.201, allocations: 201 kB / 1.255 GB, free: 119.6 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/3.201, allocations: 131.3 kB / 1.255 GB, free: 119.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.624e-05/3.201, allocations: 3.938 kB / 1.255 GB, free: 119.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000303/3.202, allocations: 7.938 kB / 1.255 GB, free: 119.5 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/3.202, allocations: 5.25 kB / 1.255 GB, free: 119.5 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/3.202, allocations: 14.98 kB / 1.255 GB, free: 119.5 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0001931/3.202, allocations: 176 kB / 1.256 GB, free: 119.4 MB / 0.4952 GB Notification: Performance of sort global known variables: time 1.874e-06/3.202, allocations: 0 / 1.256 GB, free: 119.4 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.002209/3.204, allocations: 425.1 kB / 1.256 GB, free: 119.3 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.003525/3.208, allocations: 1.473 MB / 1.257 GB, free: 118.4 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.000514/3.208, allocations: 160.8 kB / 1.258 GB, free: 118.4 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/3.208, allocations: 0 / 1.258 GB, free: 118.4 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 3.904e-05/3.208, allocations: 14.5 kB / 1.258 GB, free: 118.4 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/3.209, allocations: 23.58 kB / 1.258 GB, free: 118.4 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7402/3.949, allocations: 165.3 MB / 1.419 GB, free: 134.4 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/3.949, allocations: 0.7424 MB / 1.42 GB, free: 133.7 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/3.95, allocations: 90.14 kB / 1.42 GB, free: 133.7 MB / 0.4952 GB Notification: Performance of SimCode: time 1.082e-06/3.95, allocations: 0 / 1.42 GB, free: 133.7 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.879/6.829, allocations: 11.19 MB / 1.431 GB, free: 132.5 MB / 0.4952 GB (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