Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 97.42 kB / 16.95 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 179.5 kB / 17.84 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.4 MB / 224 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004827, allocations: 12 kB / 280.9 MB, free: 3.629 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1021, allocations: 47.58 MB / 328.5 MB, free: 3.973 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02656/0.1287, allocations: 24.92 MB / 353.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004792/0.1335, allocations: 3.893 MB / 357.3 MB, free: 7.066 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005004/0.1341, allocations: 8 kB / 357.3 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007278/0.1348, allocations: 155.1 kB / 357.4 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008729/0.1357, allocations: 322.4 kB / 357.7 MB, free: 6.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004115/0.1399, allocations: 1.144 MB / 358.9 MB, free: 5.441 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001519/0.1414, allocations: 1.109 MB / 360 MB, free: 4.328 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.1416, allocations: 72.67 kB / 360.1 MB, free: 4.258 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01097/0.1526, allocations: 7.479 MB / 367.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005389/0.1532, allocations: 274.9 kB / 367.8 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.66e-05/0.1533, allocations: 12 kB / 367.8 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001699/0.155, allocations: 0.679 MB / 368.5 MB, free: 11.81 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.1551, allocations: 75.72 kB / 368.6 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.1553, allocations: 93.58 kB / 368.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.1564, allocations: 0.6078 MB / 369.3 MB, free: 11.03 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1564, allocations: 0 / 369.3 MB, free: 11.03 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1564, allocations: 4 kB / 369.3 MB, free: 11.03 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.1564, allocations: 0 / 369.3 MB, free: 11.03 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009571/0.1574, allocations: 0.5808 MB / 369.9 MB, free: 10.4 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.1575, allocations: 8.031 kB / 369.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/0.1576, allocations: 70.53 kB / 369.9 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000473/0.158, allocations: 51.61 kB / 370 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.1585, allocations: 274.6 kB / 370.3 MB, free: 9.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.1585, allocations: 24.5 kB / 370.3 MB, free: 9.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/0.1586, allocations: 32 kB / 370.3 MB, free: 9.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005393/0.1591, allocations: 334.4 kB / 370.6 MB, free: 9.531 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1591, allocations: 7.938 kB / 370.6 MB, free: 9.523 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.1592, allocations: 12 kB / 370.7 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.1592, allocations: 8 kB / 370.7 MB, free: 9.504 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/0.1595, allocations: 210 kB / 370.9 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.1715, allocations: 5.904 MB / 376.8 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.1718, allocations: 175.1 kB / 376.9 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.172, allocations: 89.3 kB / 377 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1785/0.3505, allocations: 3.875 MB / 380.9 MB, free: 56.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/0.3506, allocations: 35.38 kB / 380.9 MB, free: 56.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.565e-06/0.3506, allocations: 0 / 380.9 MB, free: 56.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006134/0.3568, allocations: 1.419 MB / 382.4 MB, free: 56.45 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.3568, allocations: 58.67 kB / 382.4 MB, free: 56.38 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.3571, allocations: 262.1 kB / 382.7 MB, free: 56.28 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.3572, allocations: 32.17 kB / 382.7 MB, free: 56.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.495e-05/0.3573, allocations: 183.3 kB / 382.9 MB, free: 56.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.076e-05/0.3573, allocations: 96.36 kB / 383 MB, free: 56.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.3573, allocations: 4.438 kB / 383 MB, free: 56.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.121e-05/0.3574, allocations: 345.4 kB / 383.3 MB, free: 55.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.3576, allocations: 88.89 kB / 383.4 MB, free: 55.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.3578, allocations: 184.4 kB / 383.6 MB, free: 55.65 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.358, allocations: 118.9 kB / 383.7 MB, free: 55.65 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.358, allocations: 5.188 kB / 383.7 MB, free: 55.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007133/0.3587, allocations: 392.4 kB / 384.1 MB, free: 55.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.3588, allocations: 9.891 kB / 384.1 MB, free: 55.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3588, allocations: 2.125 kB / 384.1 MB, free: 55.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002869/0.3617, allocations: 404.4 kB / 384.5 MB, free: 55.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.3619, allocations: 76.27 kB / 384.6 MB, free: 55.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.3632, allocations: 1.881 MB / 386.5 MB, free: 53.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.3634, allocations: 16.45 kB / 386.5 MB, free: 53.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.3635, allocations: 23.89 kB / 386.5 MB, free: 53.76 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001604/0.3636, allocations: 159.2 kB / 386.6 MB, free: 53.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.3637, allocations: 31.25 kB / 386.7 MB, free: 53.62 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006845/0.3644, allocations: 498.1 kB / 387.2 MB, free: 53.39 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.3644, allocations: 3.641 kB / 387.2 MB, free: 53.39 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.3644, allocations: 2.156 kB / 387.2 MB, free: 53.39 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005846/0.365, allocations: 0.7187 MB / 387.9 MB, free: 52.79 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.3663, allocations: 0.9433 MB / 388.8 MB, free: 52.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3663, allocations: 0 / 388.8 MB, free: 52.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.3665, allocations: 48.72 kB / 388.9 MB, free: 52.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/0.368, allocations: 327.3 kB / 389.2 MB, free: 52.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.3681, allocations: 8.453 kB / 389.2 MB, free: 52.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003561/0.3684, allocations: 0.6415 MB / 389.9 MB, free: 51.54 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3685, allocations: 0 / 389.9 MB, free: 51.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009259/0.3694, allocations: 0.7213 MB / 390.6 MB, free: 51.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.921e-05/0.3695, allocations: 108.2 kB / 390.7 MB, free: 51.01 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.3696, allocations: 6.578 kB / 390.7 MB, free: 51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.3698, allocations: 21.48 kB / 390.7 MB, free: 50.99 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.3698, allocations: 18.3 kB / 390.7 MB, free: 50.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.3698, allocations: 9.281 kB / 390.7 MB, free: 50.99 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.37, allocations: 185.5 kB / 390.9 MB, free: 50.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.37, allocations: 4 kB / 390.9 MB, free: 50.87 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007501/0.3708, allocations: 185.7 kB / 391.1 MB, free: 50.86 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002349/0.3732, allocations: 1.423 MB / 392.5 MB, free: 49.89 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.3743, allocations: 450.7 kB / 393 MB, free: 49.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.3744, allocations: 0 / 393 MB, free: 49.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007714/0.3752, allocations: 238.6 kB / 393.2 MB, free: 49.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/0.3768, allocations: 168.4 kB / 393.4 MB, free: 49.53 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004807/0.3816, allocations: 2.046 MB / 395.4 MB, free: 48.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.3819, allocations: 0.7742 MB / 396.2 MB, free: 47.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004224/0.3824, allocations: 46.11 kB / 396.2 MB, free: 47.61 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.3826, allocations: 106.1 kB / 396.3 MB, free: 47.53 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3826, allocations: 0 / 396.3 MB, free: 47.53 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03645/0.4191, allocations: 12.53 MB / 408.9 MB, free: 37.28 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.4193, allocations: 205.6 kB / 409.1 MB, free: 37.04 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/2.818, allocations: 0 / 409.1 MB, free: 37.04 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat