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.001681/0.001681, allocations: 114.2 kB / 20.22 MB, free: 1.793 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.002022/0.002022, allocations: 210.2 kB / 23.48 MB, free: 5.227 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.39/1.39, allocations: 230.2 MB / 256.8 MB, free: 8.57 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.2159/0.2159, allocations: 46.88 MB / 360 MB, free: 4.734 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.003677/0.003677, allocations: 83.86 kB / 0.4951 GB, free: 8.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3526, allocations: 65.99 MB / 0.5596 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006878/0.3595, allocations: 4.645 MB / 0.5641 GB, free: 448 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004888/0.3644, allocations: 4.033 MB / 0.568 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.3646, allocations: 0 / 0.568 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.3649, allocations: 55.59 kB / 0.5681 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.3669, allocations: 0.7305 MB / 0.5688 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.3673, allocations: 131 kB / 0.5689 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006685/0.368, allocations: 378.1 kB / 0.5693 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.527e-05/0.368, allocations: 9.672 kB / 0.5693 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.3683, allocations: 139.5 kB / 0.5694 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003078/0.3686, allocations: 159.4 kB / 0.5696 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.283e-05/0.3686, allocations: 8 kB / 0.5696 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.3697, allocations: 439.4 kB / 0.57 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.3698, allocations: 43.81 kB / 0.5701 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.37, allocations: 107.5 kB / 0.5702 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.371, allocations: 472.6 kB / 0.5706 GB, free: 9.754 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.371, allocations: 0 / 0.5706 GB, free: 9.754 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.371, allocations: 8 kB / 0.5706 GB, free: 9.746 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.371, allocations: 0 / 0.5706 GB, free: 9.746 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.001298/0.3723, allocations: 0.6 MB / 0.5712 GB, free: 9.098 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.3724, allocations: 8.031 kB / 0.5712 GB, free: 9.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.039e-05/0.3725, allocations: 62.72 kB / 0.5713 GB, free: 9.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.3726, allocations: 24.84 kB / 0.5713 GB, free: 8.996 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.373, allocations: 232 kB / 0.5715 GB, free: 8.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.3731, allocations: 119.9 kB / 0.5716 GB, free: 8.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.3732, allocations: 32.11 kB / 0.5717 GB, free: 8.559 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005715/0.3737, allocations: 327.6 kB / 0.572 GB, free: 8.211 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3737, allocations: 3.938 kB / 0.572 GB, free: 8.207 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.3738, allocations: 12 kB / 0.572 GB, free: 8.195 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.3738, allocations: 4 kB / 0.572 GB, free: 8.191 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008744/0.3747, allocations: 0.7352 MB / 0.5727 GB, free: 7.453 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.001518/0.3762, allocations: 1.312 MB / 0.574 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003646/0.3766, allocations: 151.8 kB / 0.5741 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.3767, allocations: 73.48 kB / 0.5742 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002729/0.3794, allocations: 2.817 MB / 0.577 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.3795, allocations: 30.56 kB / 0.577 GB, free: 2.406 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.3795, allocations: 8 kB / 0.577 GB, free: 2.398 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002961/0.3797, allocations: 113.8 kB / 0.5771 GB, free: 2.281 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.3798, allocations: 59.33 kB / 0.5772 GB, free: 2.211 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.38, allocations: 224.6 kB / 0.5774 GB, free: 1.984 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.38, allocations: 29.7 kB / 0.5774 GB, free: 1.949 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.3802, allocations: 223.4 kB / 0.5776 GB, free: 1.727 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.3802, allocations: 47.64 kB / 0.5777 GB, free: 1.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-05/0.3803, allocations: 82.08 kB / 0.5777 GB, free: 1.594 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3805, allocations: 330.8 kB / 0.5781 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.04e-05/0.3806, allocations: 48.78 kB / 0.5781 GB, free: 1.211 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.3809, allocations: 343.2 kB / 0.5784 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004892/0.3814, allocations: 444.6 kB / 0.5788 GB, free: 156 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.3814, allocations: 4 kB / 0.5789 GB, free: 152 kB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006135/0.382, allocations: 381.2 kB / 0.5792 GB, free: 15.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.382, allocations: 12 kB / 0.5792 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.382, allocations: 8 kB / 0.5792 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-05/0.3821, allocations: 20.75 kB / 0.5793 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.3823, allocations: 103.8 kB / 0.5794 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.343e-05/0.3824, allocations: 27.92 kB / 0.5794 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.3826, allocations: 55.56 kB / 0.5794 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.3826, allocations: 31.94 kB / 0.5795 GB, free: 15.51 MB / 430.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.0001398/0.3828, allocations: 145.7 kB / 0.5796 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.3828, allocations: 15.91 kB / 0.5796 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/0.3831, allocations: 156.4 kB / 0.5798 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.3831, allocations: 4 kB / 0.5798 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3831, allocations: 0 / 0.5798 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3831, allocations: 96 / 0.5798 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005035/0.3836, allocations: 412.8 kB / 0.5802 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3836, allocations: 0 / 0.5802 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.397e-05/0.3837, allocations: 19.98 kB / 0.5802 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.3837, allocations: 0 / 0.5802 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.3837, allocations: 4 kB / 0.5802 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.3837, allocations: 3.984 kB / 0.5802 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3837, allocations: 0 / 0.5802 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.3839, allocations: 213.9 kB / 0.5804 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.568e-05/0.384, allocations: 92.95 kB / 0.5805 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.384, allocations: 11.94 kB / 0.5805 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.3842, allocations: 11.94 kB / 0.5805 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.3842, allocations: 7.938 kB / 0.5805 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.3842, allocations: 7.984 kB / 0.5805 GB, free: 14.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.3844, allocations: 160.5 kB / 0.5807 GB, free: 14.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3844, allocations: 0 / 0.5807 GB, free: 14.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004983/0.3849, allocations: 91.86 kB / 0.5808 GB, free: 14.05 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.0007068/0.3856, allocations: 0.7967 MB / 0.5815 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003211/0.3859, allocations: 165.9 kB / 0.5817 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3859, allocations: 3.938 kB / 0.5817 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.466e-05/0.3859, allocations: 23.92 kB / 0.5817 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.3864, allocations: 41.47 kB / 0.5818 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/0.3898, allocations: 2.81 MB / 0.5845 GB, free: 9.781 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.3901, allocations: 0.7284 MB / 0.5852 GB, free: 9.027 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001846/0.3903, allocations: 54.92 kB / 0.5853 GB, free: 8.973 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.3904, allocations: 59.42 kB / 0.5853 GB, free: 8.914 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3904, allocations: 0 / 0.5853 GB, free: 8.914 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02987/0.4203, allocations: 5.247 MB / 0.5905 GB, free: 3.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.513, allocations: 7.938 kB / 0.5905 GB, free: 3.742 MB / 430.1 MB " [Timeout remaining time 651] (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.297395237954333] 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.583116806810722 8.607091217 8.231037432 Calling exit ...