Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001312/0.001312, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.506/1.506, allocations: 227.7 MB / 247.1 MB, free: 10.34 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001911/0.001911, allocations: 66.31 kB / 307.3 MB, free: 404 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.103, allocations: 50.54 MB / 357.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1993/0.3023, allocations: 26.63 MB / 384.5 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002524/0.3049, allocations: 2.249 MB / 386.7 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.3051, allocations: 0.875 kB / 386.7 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.3055, allocations: 65.17 kB / 386.8 MB, free: 5.699 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000472/0.306, allocations: 168.2 kB / 387 MB, free: 5.602 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0186/0.3246, allocations: 6.512 MB / 393.5 MB, free: 2.203 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007075/0.3254, allocations: 338 kB / 393.8 MB, free: 2.027 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.063e-05/0.3254, allocations: 13.16 kB / 393.8 MB, free: 2.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.3257, allocations: 134.5 kB / 394 MB, free: 1.957 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.3259, allocations: 131.2 kB / 394.1 MB, free: 1.883 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.326, allocations: 11.47 kB / 394.1 MB, free: 1.883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01811/0.3441, allocations: 9.366 MB / 403.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.3443, allocations: 65.19 kB / 403.5 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.3445, allocations: 103.5 kB / 403.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.3566, allocations: 4.728 MB / 408.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3566, allocations: 3.938 kB / 408.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3566, allocations: 0 / 408.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.3567, allocations: 0 / 408.4 MB, free: 8.711 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003345/0.36, allocations: 1.139 MB / 409.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3601, allocations: 12.03 kB / 409.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.721e-05/0.3601, allocations: 50.73 kB / 409.6 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.3603, allocations: 28.5 kB / 409.6 MB, free: 7.426 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.3606, allocations: 223.6 kB / 409.8 MB, free: 7.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.3606, allocations: 20.27 kB / 409.8 MB, free: 7.148 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.3607, allocations: 16 kB / 409.8 MB, free: 7.133 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000731/0.3614, allocations: 273.5 kB / 410.1 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.3614, allocations: 15.84 kB / 410.1 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.3615, allocations: 4.562 kB / 410.1 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.3615, allocations: 8.5 kB / 410.1 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008011/0.3623, allocations: 323.6 kB / 410.5 MB, free: 6.512 MB / 318.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.001503/0.3638, allocations: 0.8287 MB / 411.3 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007406/0.3646, allocations: 254.3 kB / 411.5 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.3649, allocations: 144.2 kB / 411.7 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01725/0.3822, allocations: 12.85 MB / 424.5 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.3823, allocations: 38.5 kB / 424.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.555e-06/0.3823, allocations: 0 / 424.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002945/0.3852, allocations: 0.6988 MB / 425.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.3853, allocations: 85.11 kB / 425.3 MB, free: 4.988 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.3855, allocations: 152.8 kB / 425.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.3855, allocations: 29.7 kB / 425.5 MB, free: 4.797 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.794e-05/0.3856, allocations: 116.8 kB / 425.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.3857, allocations: 122.2 kB / 425.8 MB, free: 4.559 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.3859, allocations: 77.56 kB / 425.8 MB, free: 4.477 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.386, allocations: 330.8 kB / 426.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003977/0.3864, allocations: 139.9 kB / 426.3 MB, free: 4.008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005086/0.3869, allocations: 207.6 kB / 426.5 MB, free: 3.777 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000966/0.3879, allocations: 361.1 kB / 426.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3879, allocations: 0 / 426.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001212/0.3891, allocations: 425 kB / 427.3 MB, free: 2.977 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3892, allocations: 4 kB / 427.3 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.3892, allocations: 4 kB / 427.3 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.3892, allocations: 4.219 kB / 427.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/0.3897, allocations: 91.88 kB / 427.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.3897, allocations: 11.88 kB / 427.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.39, allocations: 23.92 kB / 427.4 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.3901, allocations: 19.98 kB / 427.4 MB, free: 2.82 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * 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.0001725/0.3902, allocations: 141.8 kB / 427.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.3904, allocations: 19.81 kB / 427.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005117/0.3909, allocations: 194.6 kB / 427.8 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.3909, allocations: 7.938 kB / 427.8 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3909, allocations: 4 kB / 427.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.3909, allocations: 4 kB / 427.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.3929, allocations: 0.7753 MB / 428.6 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3929, allocations: 3.984 kB / 428.6 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004346/0.3933, allocations: 81.45 kB / 428.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3933, allocations: 160 / 428.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.3934, allocations: 19.98 kB / 428.7 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.3934, allocations: 7.938 kB / 428.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3934, allocations: 0 / 428.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.395, allocations: 0.7174 MB / 429.4 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.3951, allocations: 124.8 kB / 429.5 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.3952, allocations: 8 kB / 429.5 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.3956, allocations: 23.97 kB / 429.5 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.3956, allocations: 31.84 kB / 429.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.722e-05/0.3956, allocations: 15.98 kB / 429.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.513e-05/0.3957, allocations: 103.3 kB / 429.7 MB, free: 420 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3957, allocations: 4 kB / 429.7 MB, free: 416 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.002679/0.3984, allocations: 0.9566 MB / 430.6 MB, free: 15.45 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * Single equations (assignments): 37 * Array equations: 0 * 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.006193/0.4046, allocations: 2.413 MB / 433.1 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.4058, allocations: 372.8 kB / 433.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.4058, allocations: 0 / 433.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004994/0.4063, allocations: 189.5 kB / 433.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007469/0.4071, allocations: 99.97 kB / 433.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006388/0.4135, allocations: 3.212 MB / 436.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.4139, allocations: 0.7413 MB / 437.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004074/0.4143, allocations: 86.38 kB / 437.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.4145, allocations: 79.39 kB / 437.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4146, allocations: 0 / 437.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08259/0.4971, allocations: 33.11 MB / 470.9 MB, free: 7.059 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.46/9.957, allocations: 0 / 470.9 MB, free: 7.059 MB / 382.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)