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_pT.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.001878/0.001878, allocations: 108.5 kB / 19.8 MB, free: 2.5 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.002306/0.002306, allocations: 217 kB / 23 MB, free: 5.582 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.428/1.428, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.1 MB " [Timeout remaining time 178] 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.2324/0.2324, allocations: 46.89 MB / 359.4 MB, free: 4.918 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_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",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.002416/0.002416, allocations: 83.84 kB / 0.4942 GB, free: 8.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3323, allocations: 65.99 MB / 0.5586 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.02004/0.3523, allocations: 14.03 MB / 0.5723 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0327/0.385, allocations: 26.76 MB / 0.5985 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001996/0.3852, allocations: 4 kB / 0.5985 GB, free: 12.17 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003626/0.3856, allocations: 99.39 kB / 0.5986 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02366/0.4092, allocations: 8.529 MB / 0.6069 GB, free: 3.543 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.4105, allocations: 361 kB / 0.6072 GB, free: 3.195 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004864/0.4154, allocations: 2.006 MB / 0.6092 GB, free: 1.164 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.376e-05/0.4155, allocations: 12.41 kB / 0.6092 GB, free: 1.152 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006192/0.4161, allocations: 274.8 kB / 0.6095 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006797/0.4229, allocations: 3.27 MB / 0.6127 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.906e-05/0.4229, allocations: 12 kB / 0.6127 GB, free: 13.54 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02362/0.4466, allocations: 11.64 MB / 0.624 GB, free: 1.887 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.4467, allocations: 43.83 kB / 0.6241 GB, free: 1.844 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002513/0.447, allocations: 143.3 kB / 0.6242 GB, free: 1.703 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01701/0.464, allocations: 6.77 MB / 0.6308 GB, free: 10.92 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.464, allocations: 0 / 0.6308 GB, free: 10.92 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.464, allocations: 0 / 0.6308 GB, free: 10.92 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.464, allocations: 4 kB / 0.6308 GB, free: 10.91 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.00492/0.4689, allocations: 1.666 MB / 0.6325 GB, free: 9.191 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4689, allocations: 12.03 kB / 0.6325 GB, free: 9.18 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.43e-05/0.469, allocations: 66.72 kB / 0.6325 GB, free: 9.105 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.4706, allocations: 192.5 kB / 0.6327 GB, free: 8.918 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.4709, allocations: 275.9 kB / 0.633 GB, free: 8.609 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.4709, allocations: 24.97 kB / 0.633 GB, free: 8.586 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.511e-05/0.471, allocations: 35.94 kB / 0.633 GB, free: 8.551 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/0.4734, allocations: 0.7486 MB / 0.6338 GB, free: 7.754 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.4734, allocations: 3.938 kB / 0.6338 GB, free: 7.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/0.4735, allocations: 15.98 kB / 0.6338 GB, free: 7.734 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.4735, allocations: 8 kB / 0.6338 GB, free: 7.727 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/0.4757, allocations: 0.8137 MB / 0.6346 GB, free: 6.906 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.003591/0.4793, allocations: 2.715 MB / 0.6373 GB, free: 3.973 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.4806, allocations: 340.8 kB / 0.6376 GB, free: 3.633 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.4807, allocations: 68.86 kB / 0.6376 GB, free: 3.562 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6116/1.092, allocations: 147.8 MB / 0.782 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/1.093, allocations: 443.2 kB / 0.7824 GB, free: 115 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.364e-06/1.093, allocations: 0 / 0.7824 GB, free: 115 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.00336/1.097, allocations: 1.143 MB / 0.7836 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/1.097, allocations: 375.8 kB / 0.7839 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/1.097, allocations: 189.5 kB / 0.7841 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/1.097, allocations: 33.7 kB / 0.7841 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/1.097, allocations: 189.6 kB / 0.7843 GB, free: 113 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.155e-05/1.097, allocations: 121.7 kB / 0.7844 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/1.097, allocations: 122.2 kB / 0.7845 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.199e-05/1.097, allocations: 334.8 kB / 0.7849 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/1.097, allocations: 81 kB / 0.7849 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/1.098, allocations: 353.3 kB / 0.7853 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/1.098, allocations: 487 kB / 0.7857 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.098, allocations: 0 / 0.7857 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006934/1.099, allocations: 472.3 kB / 0.7862 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.099, allocations: 8 kB / 0.7862 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/1.099, allocations: 8 kB / 0.7862 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/1.099, allocations: 12 kB / 0.7862 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/1.1, allocations: 211.7 kB / 0.7864 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003483/1.101, allocations: 1.196 MB / 0.7876 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/1.101, allocations: 16 kB / 0.7876 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/1.101, allocations: 43.97 kB / 0.7876 GB, free: 109.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001339/1.101, allocations: 161.2 kB / 0.7878 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.881e-05/1.101, allocations: 32.03 kB / 0.7878 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002134/1.103, allocations: 2.823 MB / 0.7906 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/1.103, allocations: 19.97 kB / 0.7906 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.103, allocations: 4 kB / 0.7906 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/1.103, allocations: 4 kB / 0.7906 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007036/1.104, allocations: 0.9777 MB / 0.7916 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.104, allocations: 7.938 kB / 0.7916 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004681/1.105, allocations: 99.08 kB / 0.7917 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001486/1.105, allocations: 158.7 kB / 0.7918 GB, free: 105 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/1.105, allocations: 16.09 kB / 0.7918 GB, free: 105 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002397/1.105, allocations: 0.6467 MB / 0.7925 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.105, allocations: 3.938 kB / 0.7925 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008452/1.106, allocations: 0.9529 MB / 0.7934 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/1.106, allocations: 134.4 kB / 0.7935 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-05/1.106, allocations: 101.5 kB / 0.7936 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/1.106, allocations: 15.94 kB / 0.7936 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/1.106, allocations: 39.89 kB / 0.7937 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/1.106, allocations: 16 kB / 0.7937 GB, free: 103 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003995/1.107, allocations: 471 kB / 0.7941 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.107, allocations: 0 / 0.7941 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004311/1.111, allocations: 1.634 MB / 0.7957 GB, free: 101 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: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009533/1.121, allocations: 3.162 MB / 0.7988 GB, free: 97.97 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00159/1.122, allocations: 0.5311 MB / 0.7994 GB, free: 97.44 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/1.122, allocations: 0 / 0.7994 GB, free: 97.44 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000385/1.123, allocations: 287.7 kB / 0.7996 GB, free: 97.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009008/1.123, allocations: 135.3 kB / 0.7998 GB, free: 97.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6665/1.79, allocations: 353.3 MB / 1.145 GB, free: 70.34 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/1.79, allocations: 0.9859 MB / 1.146 GB, free: 69.33 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005854/1.791, allocations: 0.5114 MB / 1.146 GB, free: 68.83 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/1.791, allocations: 315.3 kB / 1.147 GB, free: 68.52 MB / 0.6387 GB Notification: Performance of SimCode: time 1.112e-06/1.791, allocations: 0 / 1.147 GB, free: 68.52 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3479/2.139, allocations: 66.51 MB / 1.211 GB, free: 240.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.18/19.32, allocations: 6.469 kB / 1.211 GB, free: 240.9 MB / 0.6387 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_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_pT.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.063211890985258] Failed to read output from testmodel.py, exit status != 0: ['time', 'eps_h_is', 'eps', 'eta', 'lambda', 'Pr', 'p', 'T', 'd', 'h', 'u', 's', 'g', 'f', 'cp', 'cp2', 'cv', 'cv2', 'h_is', 'a', 'beta', 'beta2', 'kappa', 'kappa2', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is'] 19.46432115099742 19.479254457 19.011887918 Calling exit ...