Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Examples.AirProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirProperties,fileNamePrefix="IBPSA_latest_IBPSA_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.00114/0.00114, allocations: 108.3 kB / 16.4 MB, free: 6.434 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.001139/0.001139, allocations: 193.1 kB / 17.34 MB, free: 5.719 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7019/0.7019, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001384, allocations: 64.56 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1495, allocations: 76.18 MB / 0.6316 GB, free: 4.867 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirProperties): time 0.5724/0.722, allocations: 149.1 MB / 0.7772 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003605/0.7256, allocations: 3.611 MB / 0.7807 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.7258, allocations: 5.125 kB / 0.7807 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000342/0.7261, allocations: 70.27 kB / 0.7808 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.7265, allocations: 135.5 kB / 0.7809 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.7289, allocations: 1.009 MB / 0.7819 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004546/0.7294, allocations: 318.6 kB / 0.7822 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 6.58e-05/0.7294, allocations: 18.5 kB / 0.7822 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005391/0.73, allocations: 193.2 kB / 0.7824 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.7303, allocations: 131.3 kB / 0.7825 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.7303, allocations: 10.81 kB / 0.7826 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002425/0.7328, allocations: 1.216 MB / 0.7837 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.7329, allocations: 71.81 kB / 0.7838 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.7331, allocations: 109.6 kB / 0.7839 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.7346, allocations: 0.6316 MB / 0.7845 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7346, allocations: 4 kB / 0.7845 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7346, allocations: 0 / 0.7845 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.7347, allocations: 2.531 kB / 0.7845 GB, free: 13.43 MB / 0.5919 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.001389/0.7361, allocations: 0.5868 MB / 0.7851 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.7361, allocations: 10.78 kB / 0.7851 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.841e-05/0.7362, allocations: 51.97 kB / 0.7852 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.7374, allocations: 134.3 kB / 0.7853 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.7378, allocations: 228.5 kB / 0.7855 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.7378, allocations: 19.75 kB / 0.7855 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.876e-05/0.7379, allocations: 22.52 kB / 0.7856 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.7384, allocations: 339 kB / 0.7859 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.7384, allocations: 4.641 kB / 0.7859 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.7385, allocations: 10.72 kB / 0.7859 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/0.7385, allocations: 13.53 kB / 0.7859 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005251/0.739, allocations: 321.8 kB / 0.7862 GB, free: 12.61 MB / 0.5919 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.001661/0.7407, allocations: 1.119 MB / 0.7873 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/0.7412, allocations: 186.9 kB / 0.7875 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.7413, allocations: 81.91 kB / 0.7876 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005489/0.7419, allocations: 460.9 kB / 0.788 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.7419, allocations: 42.72 kB / 0.788 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=21): time 1.723e-06/0.7419, allocations: 0 / 0.788 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21): time 0.0006508/0.7426, allocations: 254.7 kB / 0.7883 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.7426, allocations: 59.36 kB / 0.7883 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.7429, allocations: 212.8 kB / 0.7885 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.7429, allocations: 30.52 kB / 0.7886 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/0.743, allocations: 146.2 kB / 0.7887 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.332e-05/0.7431, allocations: 78.97 kB / 0.7888 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-05/0.7431, allocations: 51.73 kB / 0.7888 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.7433, allocations: 328.3 kB / 0.7892 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.7434, allocations: 78.78 kB / 0.7892 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.7436, allocations: 166.4 kB / 0.7894 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.7439, allocations: 249.3 kB / 0.7896 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.7439, allocations: 0 / 0.7896 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005025/0.7444, allocations: 286.8 kB / 0.7899 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.7444, allocations: 6.312 kB / 0.7899 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.7444, allocations: 3.281 kB / 0.7899 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.7445, allocations: 7.906 kB / 0.7899 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.7447, allocations: 59.34 kB / 0.79 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.7447, allocations: 4.188 kB / 0.79 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.745, allocations: 31.16 kB / 0.79 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.745, allocations: 18.64 kB / 0.79 GB, free: 10.2 MB / 0.5919 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.0001379/0.7452, allocations: 142.4 kB / 0.7902 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.7453, allocations: 22.42 kB / 0.7902 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004279/0.7457, allocations: 276.7 kB / 0.7904 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.7458, allocations: 6.406 kB / 0.7905 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.7458, allocations: 2.438 kB / 0.7905 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.7458, allocations: 2.344 kB / 0.7905 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000733/0.7465, allocations: 0.5881 MB / 0.791 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.7465, allocations: 1.562 kB / 0.791 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.7467, allocations: 39.97 kB / 0.7911 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.7467, allocations: 2.875 kB / 0.7911 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.7468, allocations: 3.5 kB / 0.7911 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.7468, allocations: 2.656 kB / 0.7911 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7468, allocations: 1.203 kB / 0.7911 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004784/0.7472, allocations: 352.4 kB / 0.7914 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.7474, allocations: 126.8 kB / 0.7915 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.7474, allocations: 6.719 kB / 0.7915 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.7477, allocations: 7.438 kB / 0.7916 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.7477, allocations: 15.67 kB / 0.7916 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.7478, allocations: 17.7 kB / 0.7916 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001199/0.7479, allocations: 149.7 kB / 0.7917 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7479, allocations: 0 / 0.7917 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006137/0.7485, allocations: 118 kB / 0.7918 GB, free: 9.301 MB / 0.5919 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.001363/0.7499, allocations: 0.9948 MB / 0.7928 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004001/0.7503, allocations: 202.8 kB / 0.793 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.7503, allocations: 7.375 kB / 0.793 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.7505, allocations: 104.2 kB / 0.7931 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006331/0.7511, allocations: 99 kB / 0.7932 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003334/0.7545, allocations: 2.486 MB / 0.7956 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.7548, allocations: 0.7334 MB / 0.7963 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002481/0.7551, allocations: 58.45 kB / 0.7964 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.7552, allocations: 58.2 kB / 0.7965 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.7552, allocations: 0 / 0.7965 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0288/0.784, allocations: 7.818 MB / 0.8041 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.544/8.328, allocations: 7.625 kB / 0.8041 GB, free: 3.25 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_AirProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe 2>&1)