Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_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.001066/0.001066, allocations: 108 kB / 15.6 MB, free: 132 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.001063/0.001063, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8112/0.8112, allocations: 132.2 MB / 422.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 65.75 kB / 0.5019 GB, free: 8.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1645, allocations: 80.21 MB / 0.5802 GB, free: 8.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.4487/0.6132, allocations: 149.1 MB / 0.7258 GB, free: 5.434 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004755/0.618, allocations: 3.623 MB / 0.7293 GB, free: 2.898 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.6182, allocations: 1.25 kB / 0.7293 GB, free: 2.898 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003577/0.6186, allocations: 62.89 kB / 0.7294 GB, free: 2.871 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004194/0.6191, allocations: 130.2 kB / 0.7295 GB, free: 2.793 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002861/0.6219, allocations: 1.005 MB / 0.7305 GB, free: 2.297 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005056/0.6224, allocations: 315.7 kB / 0.7308 GB, free: 2.172 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.629e-05/0.6225, allocations: 17.42 kB / 0.7308 GB, free: 2.164 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000557/0.6231, allocations: 190.9 kB / 0.731 GB, free: 2.082 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003456/0.6234, allocations: 127.1 kB / 0.7311 GB, free: 2.035 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.017e-05/0.6235, allocations: 10.78 kB / 0.7311 GB, free: 2.035 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002901/0.6264, allocations: 1.22 MB / 0.7323 GB, free: 1.539 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.6266, allocations: 76.16 kB / 0.7324 GB, free: 1.508 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.6268, allocations: 112.2 kB / 0.7325 GB, free: 1.453 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.6285, allocations: 0.6357 MB / 0.7331 GB, free: 1.246 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.6285, allocations: 1.438 kB / 0.7331 GB, free: 1.246 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6286, allocations: 0 / 0.7331 GB, free: 1.246 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.6286, allocations: 0 / 0.7331 GB, free: 1.246 MB / 0.545 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.001474/0.6301, allocations: 0.5892 MB / 0.7337 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.6301, allocations: 9.094 kB / 0.7337 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.474e-05/0.6302, allocations: 59.78 kB / 0.7337 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.6315, allocations: 128.5 kB / 0.7339 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.6318, allocations: 224.1 kB / 0.7341 GB, free: 476 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.6319, allocations: 19.56 kB / 0.7341 GB, free: 464 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.6319, allocations: 16.47 kB / 0.7341 GB, free: 460 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006126/0.6325, allocations: 337.8 kB / 0.7344 GB, free: 304 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.6325, allocations: 0 / 0.7344 GB, free: 304 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.6326, allocations: 7.75 kB / 0.7344 GB, free: 300 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.6326, allocations: 17.64 kB / 0.7345 GB, free: 296 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005766/0.6332, allocations: 321.1 kB / 0.7348 GB, free: 216 kB / 0.545 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.001784/0.635, allocations: 1.118 MB / 0.7359 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004928/0.6355, allocations: 188.8 kB / 0.736 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.6357, allocations: 81.44 kB / 0.7361 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005794/0.6362, allocations: 468.7 kB / 0.7366 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.6363, allocations: 37.34 kB / 0.7366 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 1.703e-06/0.6363, allocations: 0 / 0.7366 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.0006945/0.637, allocations: 255.5 kB / 0.7368 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.6371, allocations: 54.06 kB / 0.7369 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.6373, allocations: 206.1 kB / 0.7371 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.6373, allocations: 32.39 kB / 0.7371 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.606e-05/0.6374, allocations: 139.2 kB / 0.7373 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.017e-05/0.6375, allocations: 84.77 kB / 0.7373 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.893e-05/0.6376, allocations: 54.2 kB / 0.7374 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6377, allocations: 326.8 kB / 0.7377 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.6379, allocations: 74 kB / 0.7378 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.6381, allocations: 163.6 kB / 0.7379 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.6384, allocations: 245.7 kB / 0.7382 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.6384, allocations: 2.938 kB / 0.7382 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005477/0.639, allocations: 284.6 kB / 0.7384 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.639, allocations: 9.469 kB / 0.7384 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.639, allocations: 6.406 kB / 0.7384 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.6391, allocations: 8.938 kB / 0.7385 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.6393, allocations: 60.97 kB / 0.7385 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.6394, allocations: 9.625 kB / 0.7385 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.6396, allocations: 31.81 kB / 0.7386 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.6396, allocations: 10.22 kB / 0.7386 GB, free: 13.26 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.0001477/0.6398, allocations: 140.4 kB / 0.7387 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.6399, allocations: 19.25 kB / 0.7387 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005218/0.6405, allocations: 286.6 kB / 0.739 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.6405, allocations: 7.719 kB / 0.739 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.6405, allocations: 4 kB / 0.739 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.6405, allocations: 3.984 kB / 0.739 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008157/0.6414, allocations: 0.5761 MB / 0.7396 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.6414, allocations: 0 / 0.7396 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.6416, allocations: 35.61 kB / 0.7396 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.6416, allocations: 2.375 kB / 0.7396 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.6416, allocations: 0 / 0.7396 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.6416, allocations: 6.719 kB / 0.7396 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6416, allocations: 3.984 kB / 0.7396 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005341/0.6422, allocations: 358.2 kB / 0.74 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.6423, allocations: 119.9 kB / 0.7401 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.452e-05/0.6424, allocations: 6.75 kB / 0.7401 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.6426, allocations: 13.48 kB / 0.7401 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.6427, allocations: 14.86 kB / 0.7401 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.6427, allocations: 9.625 kB / 0.7401 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001306/0.6428, allocations: 155.3 kB / 0.7403 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6428, allocations: 0 / 0.7403 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005544/0.6434, allocations: 114 kB / 0.7404 GB, free: 11.95 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.001211/0.6446, allocations: 0.9922 MB / 0.7413 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004176/0.6451, allocations: 221.3 kB / 0.7415 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6451, allocations: 1.375 kB / 0.7416 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.6452, allocations: 105.7 kB / 0.7417 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000668/0.6459, allocations: 99.84 kB / 0.7417 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/0.6492, allocations: 2.49 MB / 0.7442 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.6495, allocations: 0.7411 MB / 0.7449 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003164/0.6499, allocations: 57.81 kB / 0.745 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.65, allocations: 54.58 kB / 0.745 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.65, allocations: 0 / 0.745 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.677, allocations: 7.663 MB / 0.7525 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.906/10.58, allocations: 6.719 kB / 0.7525 GB, free: 1.793 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Media.Examples.AirProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_AirProperties.fmu > IDEAS_IDEAS.Media.Examples.AirProperties.pipe 2>&1)