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.0009197/0.0009197, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005492/0.005492, allocations: 172.6 kB / 16.26 MB, free: 6.676 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9814/0.9814, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.0003359, allocations: 9.438 kB / 0.5077 GB, free: 4.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2038, allocations: 82.31 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.5061/0.7099, allocations: 144.9 MB / 0.7296 GB, free: 2.637 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004067/0.714, allocations: 3.626 MB / 0.7331 GB, free: 88 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.204e-05/0.7141, allocations: 1 kB / 0.7331 GB, free: 88 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002537/0.7144, allocations: 63.45 kB / 0.7332 GB, free: 60 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.7146, allocations: 122.9 kB / 0.7333 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.7169, allocations: 0.9417 MB / 0.7342 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005773/0.7175, allocations: 0.4887 MB / 0.7347 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.384e-05/0.7176, allocations: 16.11 kB / 0.7347 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004061/0.718, allocations: 174.5 kB / 0.7349 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.7182, allocations: 141.6 kB / 0.735 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.7183, allocations: 9.031 kB / 0.735 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.7207, allocations: 1.532 MB / 0.7365 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.408e-05/0.7208, allocations: 73.28 kB / 0.7366 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.7209, allocations: 129.7 kB / 0.7367 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.7223, allocations: 0.7365 MB / 0.7374 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.7223, allocations: 1.125 kB / 0.7374 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7223, allocations: 0 / 0.7374 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.7223, allocations: 0 / 0.7374 GB, free: 14.32 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.001132/0.7235, allocations: 0.543 MB / 0.738 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.7235, allocations: 12.89 kB / 0.738 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.875e-05/0.7236, allocations: 53.41 kB / 0.738 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.7248, allocations: 140.1 kB / 0.7382 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.725, allocations: 219.8 kB / 0.7384 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.725, allocations: 20.2 kB / 0.7384 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.7251, allocations: 22.52 kB / 0.7384 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/0.7256, allocations: 331.1 kB / 0.7387 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.7256, allocations: 3.938 kB / 0.7387 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.7257, allocations: 15.94 kB / 0.7388 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/0.7257, allocations: 13.3 kB / 0.7388 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000515/0.7262, allocations: 322.6 kB / 0.7391 GB, free: 13.29 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.001383/0.7276, allocations: 1.111 MB / 0.7402 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/0.7281, allocations: 187.3 kB / 0.7403 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.7282, allocations: 82.28 kB / 0.7404 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004925/0.7287, allocations: 466.7 kB / 0.7409 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.7287, allocations: 35.69 kB / 0.7409 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.7287, allocations: 0 / 0.7409 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.0005969/0.7294, allocations: 261.3 kB / 0.7411 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.7294, allocations: 57.77 kB / 0.7412 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.7296, allocations: 202.1 kB / 0.7414 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.7296, allocations: 31.52 kB / 0.7414 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.991e-05/0.7297, allocations: 144.9 kB / 0.7416 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/0.7298, allocations: 71.62 kB / 0.7416 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.7298, allocations: 27.97 kB / 0.7417 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.7299, allocations: 332.1 kB / 0.742 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.7301, allocations: 70.11 kB / 0.742 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.7302, allocations: 163.8 kB / 0.7422 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.7305, allocations: 250.9 kB / 0.7424 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7305, allocations: 5.375 kB / 0.7424 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004714/0.731, allocations: 286.4 kB / 0.7427 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.731, allocations: 6.875 kB / 0.7427 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.731, allocations: 2.75 kB / 0.7427 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.7311, allocations: 8.062 kB / 0.7427 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.7313, allocations: 64.34 kB / 0.7428 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.7313, allocations: 7.172 kB / 0.7428 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.7315, allocations: 29.31 kB / 0.7428 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.7316, allocations: 11 kB / 0.7428 GB, free: 10.5 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.0001124/0.7317, allocations: 136.5 kB / 0.743 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.7318, allocations: 23 kB / 0.743 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004543/0.7323, allocations: 281.7 kB / 0.7433 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.7323, allocations: 5.562 kB / 0.7433 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7323, allocations: 1.5 kB / 0.7433 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.7323, allocations: 0 / 0.7433 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006696/0.733, allocations: 0.5905 MB / 0.7438 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.733, allocations: 1.219 kB / 0.7438 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.7332, allocations: 34.89 kB / 0.7439 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.7332, allocations: 5.5 kB / 0.7439 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.7332, allocations: 6.781 kB / 0.7439 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.7332, allocations: 5.344 kB / 0.7439 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.7332, allocations: 7.547 kB / 0.7439 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004776/0.7337, allocations: 352.4 kB / 0.7442 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.966e-05/0.7338, allocations: 121.3 kB / 0.7444 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.7339, allocations: 5.297 kB / 0.7444 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.7341, allocations: 17.56 kB / 0.7444 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.7341, allocations: 14.8 kB / 0.7444 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.7342, allocations: 17.61 kB / 0.7444 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001155/0.7343, allocations: 150.8 kB / 0.7445 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7343, allocations: 1.375 kB / 0.7445 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004857/0.7348, allocations: 117.7 kB / 0.7447 GB, free: 9.258 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.001009/0.7358, allocations: 0.9931 MB / 0.7456 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003241/0.7362, allocations: 204.7 kB / 0.7458 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7362, allocations: 3.938 kB / 0.7458 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.7363, allocations: 101.6 kB / 0.7459 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006212/0.7369, allocations: 101.7 kB / 0.746 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.7395, allocations: 2.593 MB / 0.7486 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.7398, allocations: 0.7411 MB / 0.7493 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002708/0.74, allocations: 58.19 kB / 0.7493 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.7401, allocations: 55.3 kB / 0.7494 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.7401, allocations: 0 / 0.7494 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.305/1.045, allocations: 7.287 MB / 0.7565 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002994/1.046, allocations: 178.4 kB / 0.7567 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/3.061, allocations: 0 / 0.7567 GB, free: 15.22 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)