Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001426/0.001426, allocations: 105 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001509/0.001509, allocations: 217.1 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 230.2 MB / 256.2 MB, free: 8.738 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2023/0.2023, allocations: 46.89 MB / 359.3 MB, free: 5.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 75.88 kB / 0.494 GB, free: 9.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2523, allocations: 65.99 MB / 0.5585 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01236/0.2647, allocations: 11.36 MB / 0.5696 GB, free: 9.719 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.2769, allocations: 11.86 MB / 0.5811 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.56e-05/0.277, allocations: 0 / 0.5811 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.2772, allocations: 71.5 kB / 0.5812 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006619/0.2839, allocations: 3.118 MB / 0.5843 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.2842, allocations: 166.5 kB / 0.5844 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005487/0.2897, allocations: 3.951 MB / 0.5883 GB, free: 6.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.2897, allocations: 12.39 kB / 0.5883 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.2899, allocations: 143.5 kB / 0.5884 GB, free: 6.352 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009869/0.2998, allocations: 7.227 MB / 0.5955 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.2998, allocations: 11.94 kB / 0.5955 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004269/0.3041, allocations: 2.158 MB / 0.5976 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.711e-05/0.3041, allocations: 43.83 kB / 0.5976 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.3043, allocations: 127.4 kB / 0.5978 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002617/0.3069, allocations: 1.551 MB / 0.5993 GB, free: 11.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3069, allocations: 0 / 0.5993 GB, free: 11.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3069, allocations: 0 / 0.5993 GB, free: 11.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3069, allocations: 0 / 0.5993 GB, free: 11.22 MB / 446.1 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.002023/0.3089, allocations: 0.9452 MB / 0.6002 GB, free: 10.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.309, allocations: 8.031 kB / 0.6002 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.779e-05/0.3091, allocations: 66.73 kB / 0.6003 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005494/0.3096, allocations: 80.72 kB / 0.6003 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.3099, allocations: 244 kB / 0.6006 GB, free: 9.789 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.3099, allocations: 20.94 kB / 0.6006 GB, free: 9.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.31, allocations: 24.38 kB / 0.6006 GB, free: 9.746 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009014/0.3109, allocations: 489.4 kB / 0.6011 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3109, allocations: 3.938 kB / 0.6011 GB, free: 9.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.3109, allocations: 12 kB / 0.6011 GB, free: 9.219 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.3109, allocations: 12 kB / 0.6011 GB, free: 9.207 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.312, allocations: 0.689 MB / 0.6018 GB, free: 8.516 MB / 446.1 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.006849/0.3188, allocations: 4.296 MB / 0.606 GB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/0.3193, allocations: 163.1 kB / 0.6061 GB, free: 3.629 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.636e-05/0.3194, allocations: 53.55 kB / 0.6062 GB, free: 3.574 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02699/0.3464, allocations: 16.41 MB / 0.6222 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006617/0.3471, allocations: 322 kB / 0.6225 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.953e-06/0.3471, allocations: 0 / 0.6225 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001304/0.3484, allocations: 442.7 kB / 0.6229 GB, free: 176 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002396/0.3486, allocations: 478.6 kB / 0.6234 GB, free: 15.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.3488, allocations: 194 kB / 0.6236 GB, free: 15.39 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.3488, allocations: 33.7 kB / 0.6236 GB, free: 15.36 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.3489, allocations: 184.2 kB / 0.6238 GB, free: 15.17 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.115e-05/0.349, allocations: 103.1 kB / 0.6239 GB, free: 15.07 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.3491, allocations: 94.08 kB / 0.624 GB, free: 14.97 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3493, allocations: 330.8 kB / 0.6243 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.3494, allocations: 56.84 kB / 0.6243 GB, free: 14.59 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.3497, allocations: 314.7 kB / 0.6246 GB, free: 14.16 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/0.3501, allocations: 436.8 kB / 0.6251 GB, free: 13.61 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3501, allocations: 0 / 0.6251 GB, free: 13.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006299/0.3508, allocations: 392.9 kB / 0.6254 GB, free: 13.22 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3508, allocations: 11.98 kB / 0.6255 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.3508, allocations: 8.875 kB / 0.6255 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3508, allocations: 12 kB / 0.6255 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.3511, allocations: 111.8 kB / 0.6256 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.261e-05/0.3511, allocations: 19.92 kB / 0.6256 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.3514, allocations: 51.61 kB / 0.6256 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.3514, allocations: 28 kB / 0.6257 GB, free: 12.98 MB / 478.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.3515, allocations: 157.6 kB / 0.6258 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-05/0.3516, allocations: 27.86 kB / 0.6259 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009541/0.3526, allocations: 0.7897 MB / 0.6266 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.3526, allocations: 4 kB / 0.6266 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3526, allocations: 4 kB / 0.6266 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.3526, allocations: 3.938 kB / 0.6266 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.3537, allocations: 1.219 MB / 0.6278 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3537, allocations: 0 / 0.6278 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.3538, allocations: 36.02 kB / 0.6279 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.3538, allocations: 11.88 kB / 0.6279 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.3538, allocations: 7.984 kB / 0.6279 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.3538, allocations: 4 kB / 0.6279 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.3539, allocations: 4 kB / 0.6279 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.3543, allocations: 379.2 kB / 0.6282 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.3543, allocations: 104.8 kB / 0.6283 GB, free: 9.988 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.91e-05/0.3544, allocations: 55.56 kB / 0.6284 GB, free: 9.934 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.3546, allocations: 11.98 kB / 0.6284 GB, free: 9.922 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.3546, allocations: 15.92 kB / 0.6284 GB, free: 9.906 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.3547, allocations: 12 kB / 0.6284 GB, free: 9.895 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003026/0.355, allocations: 294.9 kB / 0.6287 GB, free: 9.605 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.355, allocations: 4 kB / 0.6287 GB, free: 9.602 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001075/0.356, allocations: 430.6 kB / 0.6291 GB, free: 9.18 MB / 478.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001702/0.3577, allocations: 1.449 MB / 0.6305 GB, free: 7.672 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003605/0.3581, allocations: 225.5 kB / 0.6308 GB, free: 7.453 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3581, allocations: 4.188 kB / 0.6308 GB, free: 7.449 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 9.622e-05/0.3582, allocations: 71.86 kB / 0.6308 GB, free: 7.379 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006828/0.3589, allocations: 114.6 kB / 0.6309 GB, free: 7.27 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.26/1.619, allocations: 0.5821 GB / 1.213 GB, free: 226.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/1.619, allocations: 0.8027 MB / 1.214 GB, free: 225.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000311/1.619, allocations: 166.5 kB / 1.214 GB, free: 225.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/1.619, allocations: 155.4 kB / 1.214 GB, free: 225.3 MB / 0.6231 GB Notification: Performance of SimCode: time 9.72e-07/1.619, allocations: 3.562 kB / 1.214 GB, free: 225.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0346/1.654, allocations: 18.41 MB / 1.232 GB, free: 207.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/9.774, allocations: 4.688 kB / 1.232 GB, free: 207.2 MB / 0.6231 GB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.305229478006368]