Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_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.001173/0.001173, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.001296/0.001296, allocations: 221.5 kB / 22.92 MB, free: 5.559 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.301/1.301, allocations: 230.2 MB / 256.2 MB, free: 8.617 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.2021/0.2021, allocations: 46.88 MB / 359.3 MB, free: 4.992 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.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_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.002124/0.002124, allocations: 76.16 kB / 0.494 GB, free: 9.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2675, allocations: 65.99 MB / 0.5585 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01595/0.2835, allocations: 14.04 MB / 0.5722 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0293/0.3128, allocations: 26.76 MB / 0.5983 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.3129, allocations: 0 / 0.5983 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.3132, allocations: 99.39 kB / 0.5984 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02077/0.334, allocations: 8.544 MB / 0.6067 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008939/0.3349, allocations: 345.2 kB / 0.6071 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003669/0.3386, allocations: 2.01 MB / 0.609 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.32e-05/0.3386, allocations: 12.41 kB / 0.609 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004652/0.3391, allocations: 278.8 kB / 0.6093 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005656/0.3447, allocations: 3.281 MB / 0.6125 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.3448, allocations: 8 kB / 0.6125 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01874/0.3635, allocations: 10.85 MB / 0.6231 GB, free: 2.758 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.46e-05/0.3636, allocations: 43.83 kB / 0.6232 GB, free: 2.715 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.3638, allocations: 139.3 kB / 0.6233 GB, free: 2.578 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01238/0.3762, allocations: 6.337 MB / 0.6295 GB, free: 12.23 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3762, allocations: 4 kB / 0.6295 GB, free: 12.22 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3762, allocations: 0 / 0.6295 GB, free: 12.22 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.3762, allocations: 0 / 0.6295 GB, free: 12.22 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.004045/0.3802, allocations: 1.616 MB / 0.6311 GB, free: 10.55 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3803, allocations: 11.97 kB / 0.6311 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.209e-05/0.3803, allocations: 70.72 kB / 0.6311 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.382, allocations: 220.5 kB / 0.6314 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.3823, allocations: 272 kB / 0.6316 GB, free: 9.941 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.3824, allocations: 21.03 kB / 0.6316 GB, free: 9.922 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.877e-05/0.3824, allocations: 39.94 kB / 0.6317 GB, free: 9.883 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.3847, allocations: 0.8172 MB / 0.6325 GB, free: 9.023 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.3847, allocations: 4 kB / 0.6325 GB, free: 9.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.3848, allocations: 12 kB / 0.6325 GB, free: 9.008 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.3848, allocations: 8 kB / 0.6325 GB, free: 9 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002475/0.3873, allocations: 0.9425 MB / 0.6334 GB, free: 8.051 MB / 478.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.003112/0.3904, allocations: 2.574 MB / 0.6359 GB, free: 5.266 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.3917, allocations: 374.2 kB / 0.6363 GB, free: 4.891 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.3919, allocations: 68.81 kB / 0.6363 GB, free: 4.82 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7365/1.128, allocations: 241.3 MB / 0.872 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001267/1.13, allocations: 469.9 kB / 0.8724 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.753e-06/1.13, allocations: 0 / 0.8724 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002656/1.132, allocations: 0.7844 MB / 0.8732 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/1.132, allocations: 375.8 kB / 0.8735 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/1.133, allocations: 180.6 kB / 0.8737 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/1.133, allocations: 33.7 kB / 0.8737 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/1.133, allocations: 190.9 kB / 0.8739 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.774e-05/1.133, allocations: 119.8 kB / 0.874 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/1.133, allocations: 130.2 kB / 0.8742 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.497e-05/1.133, allocations: 327.8 kB / 0.8745 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/1.133, allocations: 89.05 kB / 0.8746 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/1.133, allocations: 336.7 kB / 0.8749 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/1.134, allocations: 482.5 kB / 0.8753 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.134, allocations: 4.844 kB / 0.8753 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007408/1.134, allocations: 478.8 kB / 0.8758 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/1.134, allocations: 11.94 kB / 0.8758 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/1.134, allocations: 12 kB / 0.8758 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/1.135, allocations: 15.98 kB / 0.8758 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/1.135, allocations: 136.5 kB / 0.876 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/1.135, allocations: 19.92 kB / 0.876 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/1.135, allocations: 45.28 kB / 0.876 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/1.135, allocations: 47.97 kB / 0.8761 GB, free: 11.26 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.000114/1.135, allocations: 164.7 kB / 0.8762 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.241e-05/1.135, allocations: 31.86 kB / 0.8763 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/1.137, allocations: 2.61 MB / 0.8788 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/1.137, allocations: 15.98 kB / 0.8788 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.137, allocations: 4 kB / 0.8788 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/1.137, allocations: 7.984 kB / 0.8788 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000603/1.138, allocations: 0.9385 MB / 0.8797 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.138, allocations: 4 kB / 0.8798 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/1.138, allocations: 75.81 kB / 0.8798 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/1.138, allocations: 4 kB / 0.8798 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/1.138, allocations: 11.98 kB / 0.8798 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/1.138, allocations: 4 kB / 0.8798 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.138, allocations: 11.94 kB / 0.8799 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007051/1.139, allocations: 0.7133 MB / 0.8806 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/1.139, allocations: 124.7 kB / 0.8807 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.156e-05/1.139, allocations: 106.9 kB / 0.8808 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/1.139, allocations: 25.36 kB / 0.8808 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/1.139, allocations: 35.84 kB / 0.8808 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/1.139, allocations: 15.98 kB / 0.8808 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004387/1.14, allocations: 0.504 MB / 0.8813 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.14, allocations: 0 / 0.8813 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003192/1.143, allocations: 1.524 MB / 0.8828 GB, free: 4.215 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.005877/1.149, allocations: 2.89 MB / 0.8857 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006478/1.15, allocations: 411.2 kB / 0.886 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/1.15, allocations: 0 / 0.886 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/1.15, allocations: 226.1 kB / 0.8863 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007305/1.15, allocations: 143.8 kB / 0.8864 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.243/2.393, allocations: 0.6073 GB / 1.494 GB, free: 195.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/2.393, allocations: 0.9856 MB / 1.495 GB, free: 194.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004881/2.394, allocations: 0.5294 MB / 1.495 GB, free: 193.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/2.394, allocations: 335.3 kB / 1.495 GB, free: 193.3 MB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/2.394, allocations: 4 kB / 1.495 GB, free: 193.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07403/2.468, allocations: 63.58 MB / 1.558 GB, free: 129.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/14.14, allocations: 6.562 kB / 1.558 GB, free: 129.8 MB / 0.6387 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9992e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.732733388998895]