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.005133/0.005133, allocations: 102 kB / 15.73 MB, free: 6.039 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.001154/0.001155, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.357/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9628/0.9628, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 59.91 kB / 0.5852 GB, free: 3.734 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4087, allocations: 80.92 MB / 0.6642 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.171/0.5797, allocations: 149.1 MB / 0.8098 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005067/0.5848, allocations: 3.617 MB / 0.8133 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002275/0.5851, allocations: 0 / 0.8133 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005249/0.5856, allocations: 63.64 kB / 0.8134 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0005335/0.5862, allocations: 131.2 kB / 0.8135 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003588/0.5898, allocations: 1.014 MB / 0.8145 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0005019/0.5903, allocations: 327.6 kB / 0.8148 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 6.335e-05/0.5904, allocations: 9.562 kB / 0.8148 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004849/0.5909, allocations: 195.2 kB / 0.815 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.5912, allocations: 123.6 kB / 0.8151 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.5912, allocations: 12 kB / 0.8151 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002544/0.5937, allocations: 1.223 MB / 0.8163 GB, free: 5.152 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.5939, allocations: 71.78 kB / 0.8164 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.5941, allocations: 111.5 kB / 0.8165 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.5956, allocations: 0.6374 MB / 0.8171 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5956, allocations: 0 / 0.8171 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.915e-06/0.5956, allocations: 4 kB / 0.8171 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.5956, allocations: 0 / 0.8171 GB, free: 4.332 MB / 0.6387 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.001316/0.597, allocations: 0.5772 MB / 0.8177 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.597, allocations: 12.03 kB / 0.8177 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.097e-05/0.5971, allocations: 54.73 kB / 0.8178 GB, free: 3.633 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.5983, allocations: 144.5 kB / 0.8179 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.5986, allocations: 223.8 kB / 0.8181 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.5986, allocations: 16.36 kB / 0.8181 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.5986, allocations: 20 kB / 0.8182 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/0.5992, allocations: 330.3 kB / 0.8185 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.5992, allocations: 3.938 kB / 0.8185 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.5992, allocations: 16 kB / 0.8185 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/0.5993, allocations: 8 kB / 0.8185 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004984/0.5998, allocations: 332 kB / 0.8188 GB, free: 2.508 MB / 0.6387 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.001634/0.6014, allocations: 1.113 MB / 0.8199 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004621/0.6019, allocations: 178.5 kB / 0.8201 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.602, allocations: 84.75 kB / 0.8201 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005188/0.6026, allocations: 461.5 kB / 0.8206 GB, free: 500 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.6026, allocations: 42.47 kB / 0.8206 GB, free: 448 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.6026, allocations: 0 / 0.8206 GB, free: 448 kB / 0.6387 GB Notification: Performance of matching and sorting (n=21): time 0.0006582/0.6033, allocations: 262.6 kB / 0.8209 GB, free: 180 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.6033, allocations: 51.41 kB / 0.8209 GB, free: 116 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.6035, allocations: 207.1 kB / 0.8211 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.6036, allocations: 29.7 kB / 0.8212 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.701e-05/0.6037, allocations: 144 kB / 0.8213 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/0.6037, allocations: 70.94 kB / 0.8214 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.034e-05/0.6038, allocations: 61.61 kB / 0.8214 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.6039, allocations: 330.8 kB / 0.8217 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.6041, allocations: 68.34 kB / 0.8218 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.6043, allocations: 166.6 kB / 0.822 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003122/0.6046, allocations: 254.1 kB / 0.8222 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.6046, allocations: 3.938 kB / 0.8222 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005114/0.6051, allocations: 285.1 kB / 0.8225 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.6051, allocations: 6.188 kB / 0.8225 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.6051, allocations: 4 kB / 0.8225 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.6052, allocations: 7.938 kB / 0.8225 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.6054, allocations: 59.91 kB / 0.8225 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.6055, allocations: 4 kB / 0.8226 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.6057, allocations: 36.06 kB / 0.8226 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.6057, allocations: 8 kB / 0.8226 GB, free: 14.29 MB / 0.6544 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.0001318/0.6058, allocations: 139.3 kB / 0.8227 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.606, allocations: 27.7 kB / 0.8228 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/0.6064, allocations: 279.2 kB / 0.823 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.6065, allocations: 4 kB / 0.823 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6065, allocations: 0 / 0.823 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.6065, allocations: 3.984 kB / 0.823 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007105/0.6072, allocations: 0.5819 MB / 0.8236 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6072, allocations: 0 / 0.8236 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.6074, allocations: 43.92 kB / 0.8236 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.6074, allocations: 0 / 0.8236 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.6074, allocations: 4 kB / 0.8236 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.6074, allocations: 3.984 kB / 0.8236 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6074, allocations: 0 / 0.8236 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000497/0.6079, allocations: 356.5 kB / 0.824 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.6081, allocations: 120.8 kB / 0.8241 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.6081, allocations: 7.938 kB / 0.8241 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.6084, allocations: 11.98 kB / 0.8241 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.6084, allocations: 15.92 kB / 0.8241 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.6084, allocations: 16 kB / 0.8242 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001192/0.6086, allocations: 156.3 kB / 0.8243 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6086, allocations: 0 / 0.8243 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004857/0.6091, allocations: 111.9 kB / 0.8244 GB, free: 12.32 MB / 0.6544 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.001101/0.6102, allocations: 0.9909 MB / 0.8254 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003853/0.6106, allocations: 215 kB / 0.8256 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6106, allocations: 0 / 0.8256 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.6107, allocations: 107.9 kB / 0.8257 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006116/0.6114, allocations: 91.98 kB / 0.8258 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.6141, allocations: 2.489 MB / 0.8282 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.6144, allocations: 0.7328 MB / 0.8289 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002351/0.6147, allocations: 58.23 kB / 0.829 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.6148, allocations: 59.41 kB / 0.829 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of SimCode: time 2e-07/0.6148, allocations: 0 / 0.829 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/0.6423, allocations: 7.811 MB / 0.8367 GB, free: 15.69 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/8.353, allocations: 7.938 kB / 0.8367 GB, free: 15.68 MB / 0.67 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)