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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001766/0.001766, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002008/0.002008, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.673/1.673, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2358/0.2358, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB 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.003657/0.003657, allocations: 83.86 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3921, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006521/0.3986, allocations: 4.599 MB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005205/0.4039, allocations: 4.006 MB / 0.539 GB, free: 6.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.4041, allocations: 10.19 kB / 0.5391 GB, free: 6.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.4045, allocations: 51.8 kB / 0.5391 GB, free: 6.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002238/0.4067, allocations: 0.7273 MB / 0.5398 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003574/0.4071, allocations: 127.3 kB / 0.5399 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006089/0.4077, allocations: 379 kB / 0.5403 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.849e-05/0.4078, allocations: 13.61 kB / 0.5403 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.408, allocations: 145.4 kB / 0.5404 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.4083, allocations: 146.3 kB / 0.5406 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.4083, allocations: 12.38 kB / 0.5406 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.4097, allocations: 428.5 kB / 0.541 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.4098, allocations: 39.2 kB / 0.541 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.4099, allocations: 105.8 kB / 0.5411 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009508/0.4109, allocations: 471.2 kB / 0.5416 GB, free: 4.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4109, allocations: 0 / 0.5416 GB, free: 4.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4109, allocations: 5.094 kB / 0.5416 GB, free: 4.789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.4109, allocations: 0 / 0.5416 GB, free: 4.789 MB / 398.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.001181/0.4121, allocations: 0.6048 MB / 0.5422 GB, free: 4.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.4122, allocations: 9.438 kB / 0.5422 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.26e-05/0.4123, allocations: 63.3 kB / 0.5423 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.4124, allocations: 24.91 kB / 0.5423 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.4128, allocations: 232.6 kB / 0.5425 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.4129, allocations: 122.9 kB / 0.5426 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.413, allocations: 27.53 kB / 0.5426 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005409/0.4135, allocations: 325.7 kB / 0.543 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4135, allocations: 1.375 kB / 0.543 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.4136, allocations: 10.59 kB / 0.543 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.4136, allocations: 11.77 kB / 0.543 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008843/0.4145, allocations: 0.7389 MB / 0.5437 GB, free: 3.203 MB / 398.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.001477/0.416, allocations: 1.305 MB / 0.545 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003621/0.4164, allocations: 165.7 kB / 0.5451 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.4165, allocations: 81.77 kB / 0.5452 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002905/0.4194, allocations: 2.817 MB / 0.548 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.4195, allocations: 32.84 kB / 0.548 GB, free: 14.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.974e-06/0.4195, allocations: 4 kB / 0.548 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000309/0.4198, allocations: 122.9 kB / 0.5481 GB, free: 14.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.4199, allocations: 53.69 kB / 0.5482 GB, free: 14.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.4201, allocations: 226.9 kB / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.4201, allocations: 30.67 kB / 0.5484 GB, free: 14.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.4203, allocations: 222.8 kB / 0.5486 GB, free: 14.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/0.4203, allocations: 49.5 kB / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.4204, allocations: 82.98 kB / 0.5488 GB, free: 13.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4206, allocations: 335.4 kB / 0.5491 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.264e-05/0.4207, allocations: 48.42 kB / 0.5491 GB, free: 13.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.421, allocations: 337 kB / 0.5494 GB, free: 13.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/0.4215, allocations: 446.9 kB / 0.5499 GB, free: 12.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.4215, allocations: 3.25 kB / 0.5499 GB, free: 12.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006068/0.4221, allocations: 385.6 kB / 0.5502 GB, free: 12.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.4221, allocations: 8 kB / 0.5502 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.4222, allocations: 12 kB / 0.5503 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.765e-05/0.4222, allocations: 16.75 kB / 0.5503 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.4225, allocations: 103.8 kB / 0.5504 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.048e-05/0.4225, allocations: 23.92 kB / 0.5504 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.4227, allocations: 63.56 kB / 0.5505 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.4228, allocations: 28 kB / 0.5505 GB, free: 12.18 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.0001314/0.4229, allocations: 141.7 kB / 0.5506 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.423, allocations: 19.91 kB / 0.5506 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.4233, allocations: 152.4 kB / 0.5508 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.4233, allocations: 0 / 0.5508 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4233, allocations: 0 / 0.5508 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4233, allocations: 0 / 0.5508 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.4238, allocations: 416.9 kB / 0.5512 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.4238, allocations: 4 kB / 0.5512 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.565e-05/0.4239, allocations: 8 kB / 0.5512 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4239, allocations: 4 kB / 0.5512 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.4239, allocations: 4 kB / 0.5512 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4239, allocations: 0 / 0.5512 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4239, allocations: 4 kB / 0.5512 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.4241, allocations: 209.9 kB / 0.5514 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.477e-05/0.4242, allocations: 100.9 kB / 0.5515 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.4243, allocations: 4.188 kB / 0.5515 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.4244, allocations: 11.98 kB / 0.5515 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.4245, allocations: 15.86 kB / 0.5515 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.4245, allocations: 4 kB / 0.5515 GB, free: 10.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.4246, allocations: 160.5 kB / 0.5517 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4246, allocations: 3.938 kB / 0.5517 GB, free: 10.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005176/0.4251, allocations: 91.88 kB / 0.5518 GB, free: 10.72 MB / 414.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.000726/0.4259, allocations: 0.7889 MB / 0.5525 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003412/0.4262, allocations: 173.6 kB / 0.5527 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4262, allocations: 0 / 0.5527 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.182e-05/0.4263, allocations: 27.92 kB / 0.5527 GB, free: 9.699 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.4267, allocations: 49.45 kB / 0.5528 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003403/0.4302, allocations: 2.8 MB / 0.5555 GB, free: 6.469 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.4305, allocations: 0.7284 MB / 0.5562 GB, free: 5.711 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001965/0.4308, allocations: 54.92 kB / 0.5563 GB, free: 5.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.266e-05/0.4309, allocations: 55.42 kB / 0.5563 GB, free: 5.602 MB / 414.1 MB Notification: Performance of SimCode: time 2.565e-06/0.4309, allocations: 0 / 0.5563 GB, free: 5.602 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02725/0.4581, allocations: 5.237 MB / 0.5614 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/8.409, allocations: 14.44 kB / 0.5615 GB, free: 0.5 MB / 414.1 MB (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 --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)