Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.001338/0.001338, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001617/0.001617, allocations: 212 kB / 24.54 MB, free: 4.016 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.45/1.45, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2253/0.2253, allocations: 46.93 MB / 361.6 MB, free: 4.207 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.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearColdWater",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.002276/0.002276, allocations: 79.88 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3392, allocations: 66.08 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006685/0.3459, allocations: 4.659 MB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005194/0.3511, allocations: 4.037 MB / 0.57 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.3513, allocations: 8 kB / 0.57 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.3516, allocations: 51.67 kB / 0.5701 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.3537, allocations: 0.746 MB / 0.5708 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.3541, allocations: 127.3 kB / 0.5709 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006549/0.3547, allocations: 386 kB / 0.5713 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.764e-05/0.3548, allocations: 5.812 kB / 0.5713 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.355, allocations: 147.5 kB / 0.5715 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.3553, allocations: 155.4 kB / 0.5716 GB, free: 9.941 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.3554, allocations: 8 kB / 0.5716 GB, free: 9.934 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.3565, allocations: 443.4 kB / 0.572 GB, free: 9.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.727e-05/0.3565, allocations: 43.81 kB / 0.5721 GB, free: 9.457 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.3567, allocations: 107.5 kB / 0.5722 GB, free: 9.352 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007789/0.3575, allocations: 472.5 kB / 0.5726 GB, free: 8.891 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3575, allocations: 0 / 0.5726 GB, free: 8.891 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3575, allocations: 0 / 0.5726 GB, free: 8.891 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3575, allocations: 8 kB / 0.5726 GB, free: 8.883 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001195/0.3587, allocations: 0.5285 MB / 0.5732 GB, free: 8.324 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3587, allocations: 8.031 kB / 0.5732 GB, free: 8.316 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.97e-05/0.3588, allocations: 62.73 kB / 0.5732 GB, free: 8.246 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.3589, allocations: 24.84 kB / 0.5732 GB, free: 8.223 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.3593, allocations: 170.2 kB / 0.5734 GB, free: 8.031 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.3595, allocations: 226.7 kB / 0.5736 GB, free: 7.758 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.3595, allocations: 24.12 kB / 0.5736 GB, free: 7.734 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005261/0.36, allocations: 334.8 kB / 0.574 GB, free: 7.383 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.36, allocations: 7.938 kB / 0.574 GB, free: 7.375 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.3601, allocations: 8 kB / 0.574 GB, free: 7.367 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/0.3601, allocations: 11.98 kB / 0.574 GB, free: 7.355 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008545/0.3609, allocations: 0.7547 MB / 0.5747 GB, free: 6.598 MB / 414.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.001487/0.3624, allocations: 1.28 MB / 0.576 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.3628, allocations: 155.7 kB / 0.5761 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.3629, allocations: 81.47 kB / 0.5762 GB, free: 4.965 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001541/0.3645, allocations: 0.731 MB / 0.5769 GB, free: 4.215 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.3645, allocations: 42.55 kB / 0.577 GB, free: 4.164 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.3645, allocations: 0 / 0.577 GB, free: 4.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002952/0.3648, allocations: 125.7 kB / 0.5771 GB, free: 4.035 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.3648, allocations: 59.34 kB / 0.5771 GB, free: 3.965 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.3651, allocations: 222 kB / 0.5773 GB, free: 3.742 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.3651, allocations: 25.7 kB / 0.5774 GB, free: 3.711 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.3652, allocations: 223.5 kB / 0.5776 GB, free: 3.488 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.3653, allocations: 55.5 kB / 0.5776 GB, free: 3.434 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.188e-05/0.3654, allocations: 78.09 kB / 0.5777 GB, free: 3.352 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3655, allocations: 330.8 kB / 0.578 GB, free: 3.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.3656, allocations: 48.84 kB / 0.5781 GB, free: 2.969 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.366, allocations: 343.2 kB / 0.5784 GB, free: 2.492 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.3664, allocations: 448.5 kB / 0.5788 GB, free: 1.906 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.3664, allocations: 4 kB / 0.5788 GB, free: 1.902 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000548/0.367, allocations: 381.3 kB / 0.5792 GB, free: 1.523 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.367, allocations: 14.19 kB / 0.5792 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.367, allocations: 12 kB / 0.5792 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/0.367, allocations: 15.94 kB / 0.5792 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.3673, allocations: 99.83 kB / 0.5793 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.072e-05/0.3673, allocations: 20.53 kB / 0.5794 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.3675, allocations: 55.62 kB / 0.5794 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.3676, allocations: 31.98 kB / 0.5794 GB, free: 1.281 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001758/0.3677, allocations: 150.4 kB / 0.5796 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.3678, allocations: 19.91 kB / 0.5796 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.3681, allocations: 156.4 kB / 0.5797 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.3681, allocations: 0 / 0.5797 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3681, allocations: 4 kB / 0.5797 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3681, allocations: 0 / 0.5797 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/0.3686, allocations: 372 kB / 0.5801 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3686, allocations: 4.094 kB / 0.5801 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.3686, allocations: 12 kB / 0.5801 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3686, allocations: 3.938 kB / 0.5801 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.3686, allocations: 7.984 kB / 0.5801 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3686, allocations: 0 / 0.5801 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3687, allocations: 4 kB / 0.5801 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.3688, allocations: 205.9 kB / 0.5803 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.3689, allocations: 27.83 kB / 0.5804 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.3689, allocations: 3.953 kB / 0.5804 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.3691, allocations: 7.938 kB / 0.5804 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.3691, allocations: 11.97 kB / 0.5804 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.3691, allocations: 8 kB / 0.5804 GB, free: 200 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.3692, allocations: 152.5 kB / 0.5805 GB, free: 44 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3692, allocations: 4 kB / 0.5805 GB, free: 40 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005059/0.3698, allocations: 96.02 kB / 0.5806 GB, free: 15.94 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0006716/0.3704, allocations: 0.8046 MB / 0.5814 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002903/0.3707, allocations: 170.3 kB / 0.5816 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3707, allocations: 0 / 0.5816 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.282e-05/0.3708, allocations: 19.94 kB / 0.5816 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.3712, allocations: 36.59 kB / 0.5816 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.3743, allocations: 2.803 MB / 0.5844 GB, free: 11.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.3747, allocations: 0.7245 MB / 0.5851 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000182/0.3748, allocations: 58.91 kB / 0.5851 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.797e-05/0.3749, allocations: 63.36 kB / 0.5852 GB, free: 10.82 MB / 430.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3749, allocations: 0 / 0.5852 GB, free: 10.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.4019, allocations: 5.449 MB / 0.5905 GB, free: 5.449 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.846/8.247, allocations: 15.12 kB / 0.5905 GB, free: 5.438 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.076912409160286] Failed to read output from testmodel.py, exit status != 0: ['time', 'eps_h_is', 'eta', 'lambda', 'Pr', 'p', 'T', 'd', 'h', 'u', 's', 'g', 'f', 'cp', 'cp2', 'cv', 'cv2', 'h_is', 'a', 'beta', 'beta2', 'kappa', 'kappa2', 'ddpT', 'ddTp', 'dddX[1]', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is', 'eps'] 8.31820818874985 8.333669944 7.973113725 Calling exit ...