Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirProperties.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirProperties",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.001569/0.00157, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 194.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8394/0.8394, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 68.31 kB / 0.5054 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1181, allocations: 80.93 MB / 0.5845 GB, free: 4.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.3154/0.4336, allocations: 149.1 MB / 0.73 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003465/0.4371, allocations: 3.623 MB / 0.7336 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.364e-05/0.4372, allocations: 1.25 kB / 0.7336 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.4375, allocations: 67.45 kB / 0.7336 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.4378, allocations: 131.9 kB / 0.7338 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.4395, allocations: 1.004 MB / 0.7347 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000267/0.4397, allocations: 312.8 kB / 0.735 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.4398, allocations: 18.45 kB / 0.7351 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.4401, allocations: 193.7 kB / 0.7352 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.4403, allocations: 132.8 kB / 0.7354 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.4403, allocations: 11.59 kB / 0.7354 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.4419, allocations: 1.214 MB / 0.7366 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.045e-05/0.442, allocations: 71.27 kB / 0.7366 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.4421, allocations: 113.8 kB / 0.7367 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007887/0.4429, allocations: 0.638 MB / 0.7374 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4429, allocations: 7.516 kB / 0.7374 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4429, allocations: 0 / 0.7374 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.4429, allocations: 0 / 0.7374 GB, free: 12.36 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009096/0.4438, allocations: 0.5803 MB / 0.7379 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.4439, allocations: 10.16 kB / 0.738 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.242e-05/0.4439, allocations: 59.89 kB / 0.738 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.4449, allocations: 132.1 kB / 0.7381 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.4451, allocations: 224.1 kB / 0.7383 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.4452, allocations: 21.31 kB / 0.7384 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.4452, allocations: 19.31 kB / 0.7384 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004306/0.4456, allocations: 332.5 kB / 0.7387 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.4457, allocations: 0 / 0.7387 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.4457, allocations: 13.75 kB / 0.7387 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/0.4457, allocations: 12.25 kB / 0.7387 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004339/0.4462, allocations: 325 kB / 0.739 GB, free: 11.32 MB / 0.5606 GB 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.001304/0.4475, allocations: 1.12 MB / 0.7401 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.4479, allocations: 184.2 kB / 0.7403 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.448, allocations: 85.02 kB / 0.7404 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004486/0.4485, allocations: 457.5 kB / 0.7408 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.4485, allocations: 49.17 kB / 0.7409 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.4485, allocations: 0 / 0.7409 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.0005718/0.4491, allocations: 266.4 kB / 0.7411 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.4491, allocations: 54.44 kB / 0.7412 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.4493, allocations: 199.7 kB / 0.7414 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.4493, allocations: 27.02 kB / 0.7414 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.4494, allocations: 149.1 kB / 0.7415 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.517e-05/0.4495, allocations: 76.39 kB / 0.7416 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.331e-05/0.4495, allocations: 53.52 kB / 0.7417 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.32e-05/0.4496, allocations: 327.3 kB / 0.742 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.4497, allocations: 74.19 kB / 0.742 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.4499, allocations: 158.2 kB / 0.7422 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.4502, allocations: 254.9 kB / 0.7424 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4502, allocations: 1.344 kB / 0.7424 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004453/0.4506, allocations: 285.3 kB / 0.7427 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.4507, allocations: 5.5 kB / 0.7427 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.4507, allocations: 8.734 kB / 0.7427 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.4507, allocations: 8.062 kB / 0.7427 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.4509, allocations: 59.86 kB / 0.7428 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4509, allocations: 8.125 kB / 0.7428 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.4511, allocations: 31.94 kB / 0.7428 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.4512, allocations: 14.98 kB / 0.7428 GB, free: 8.176 MB / 0.5606 GB 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001027/0.4513, allocations: 139.4 kB / 0.743 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.4514, allocations: 24.17 kB / 0.743 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004163/0.4518, allocations: 271 kB / 0.7433 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.4518, allocations: 9.312 kB / 0.7433 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.4518, allocations: 1.375 kB / 0.7433 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4518, allocations: 4 kB / 0.7433 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005928/0.4524, allocations: 0.5806 MB / 0.7438 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4524, allocations: 0 / 0.7438 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.4526, allocations: 37.89 kB / 0.7439 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4526, allocations: 1.406 kB / 0.7439 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.4527, allocations: 2.344 kB / 0.7439 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4527, allocations: 1.688 kB / 0.7439 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4527, allocations: 5.594 kB / 0.7439 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004413/0.4531, allocations: 357.9 kB / 0.7442 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.432e-05/0.4532, allocations: 119.5 kB / 0.7443 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.4533, allocations: 3.984 kB / 0.7443 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.4535, allocations: 11.94 kB / 0.7444 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.4535, allocations: 13.42 kB / 0.7444 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.4536, allocations: 18.05 kB / 0.7444 GB, free: 7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.803e-05/0.4537, allocations: 150.2 kB / 0.7445 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.4537, allocations: 0 / 0.7445 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003792/0.454, allocations: 113.1 kB / 0.7446 GB, free: 6.871 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008431/0.4549, allocations: 1.006 MB / 0.7456 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003099/0.4552, allocations: 224.7 kB / 0.7458 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4552, allocations: 0 / 0.7458 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.4553, allocations: 99.7 kB / 0.7459 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005495/0.4559, allocations: 108.2 kB / 0.746 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.4584, allocations: 2.481 MB / 0.7485 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.4587, allocations: 0.7389 MB / 0.7492 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002581/0.459, allocations: 56.03 kB / 0.7492 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.4591, allocations: 59.53 kB / 0.7493 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.4591, allocations: 0 / 0.7493 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5632/1.022, allocations: 7.641 MB / 0.7567 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.285/10.31, allocations: 20.72 kB / 0.7568 GB, free: 11.95 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_AirProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe 2>&1)