Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.001173/0.001173, allocations: 101.4 kB / 16.27 MB, free: 6.395 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.001111/0.001111, allocations: 186.7 kB / 17.2 MB, free: 5.938 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.324/1.324, allocations: 222.9 MB / 240.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7656/0.7656, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.91 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3069, allocations: 77.93 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004845/0.3118, allocations: 4.034 MB / 0.5712 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.3141, allocations: 2.424 MB / 0.5736 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.845e-05/0.3142, allocations: 2.125 kB / 0.5736 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.3145, allocations: 44.77 kB / 0.5736 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.3148, allocations: 104.5 kB / 0.5737 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.3161, allocations: 0.5257 MB / 0.5742 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.3164, allocations: 256.7 kB / 0.5745 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.589e-05/0.3164, allocations: 12.67 kB / 0.5745 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.3166, allocations: 116.6 kB / 0.5746 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.3168, allocations: 91.94 kB / 0.5747 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.3168, allocations: 8.562 kB / 0.5747 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007923/0.3176, allocations: 454.7 kB / 0.5751 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.112e-05/0.3177, allocations: 45.75 kB / 0.5752 GB, free: 27.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.661e-05/0.3178, allocations: 86.67 kB / 0.5753 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006116/0.3184, allocations: 403.8 kB / 0.5757 GB, free: 27.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.3184, allocations: 1.25 kB / 0.5757 GB, free: 27.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3184, allocations: 1.062 kB / 0.5757 GB, free: 27.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3184, allocations: 1.094 kB / 0.5757 GB, free: 27.23 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000643/0.3191, allocations: 0.5039 MB / 0.5762 GB, free: 26.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3191, allocations: 10.56 kB / 0.5762 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.3191, allocations: 61.16 kB / 0.5762 GB, free: 26.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/0.3211, allocations: 180.4 kB / 0.5764 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.3213, allocations: 211 kB / 0.5766 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.3213, allocations: 15.98 kB / 0.5766 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/0.3214, allocations: 13.91 kB / 0.5766 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005958/0.322, allocations: 311.3 kB / 0.5769 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.322, allocations: 2.5 kB / 0.5769 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/0.322, allocations: 7.375 kB / 0.5769 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.3221, allocations: 6.078 kB / 0.5769 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007193/0.3228, allocations: 260 kB / 0.5772 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.3241, allocations: 1.395 MB / 0.5785 GB, free: 24.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006518/0.3247, allocations: 196.8 kB / 0.5787 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.325, allocations: 77.81 kB / 0.5788 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.325, allocations: 3.125 kB / 0.5788 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.325, allocations: 38.53 kB / 0.5788 GB, free: 24.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.325, allocations: 1.375 kB / 0.5788 GB, free: 24.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007723/0.3258, allocations: 244.3 kB / 0.5791 GB, free: 24.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.3259, allocations: 54.7 kB / 0.5791 GB, free: 24.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.326, allocations: 159.4 kB / 0.5793 GB, free: 24.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.326, allocations: 31.08 kB / 0.5793 GB, free: 24.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/0.3261, allocations: 129.5 kB / 0.5794 GB, free: 24.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.3261, allocations: 59.7 kB / 0.5795 GB, free: 24.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.862e-05/0.3262, allocations: 55.89 kB / 0.5795 GB, free: 24.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.361e-05/0.3262, allocations: 326.1 kB / 0.5799 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.3265, allocations: 67.3 kB / 0.5799 GB, free: 23.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.3267, allocations: 143 kB / 0.5801 GB, free: 23.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000448/0.3272, allocations: 215.8 kB / 0.5803 GB, free: 23.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3272, allocations: 2.219 kB / 0.5803 GB, free: 23.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005678/0.3277, allocations: 253.4 kB / 0.5805 GB, free: 23.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3278, allocations: 6.062 kB / 0.5805 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3278, allocations: 2.75 kB / 0.5805 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.3278, allocations: 4.125 kB / 0.5805 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.3282, allocations: 63.7 kB / 0.5806 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.3282, allocations: 6.5 kB / 0.5806 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.3284, allocations: 37.48 kB / 0.5806 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.3285, allocations: 14.41 kB / 0.5806 GB, free: 23.56 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 8.625e-05/0.3286, allocations: 131.7 kB / 0.5808 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/0.3286, allocations: 18.64 kB / 0.5808 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006121/0.3292, allocations: 229.2 kB / 0.581 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3292, allocations: 2.75 kB / 0.581 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3293, allocations: 1.344 kB / 0.581 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3293, allocations: 1.078 kB / 0.581 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.3295, allocations: 244.4 kB / 0.5812 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3295, allocations: 1.438 kB / 0.5812 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.3298, allocations: 47.5 kB / 0.5813 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3298, allocations: 1.375 kB / 0.5813 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.3298, allocations: 11.94 kB / 0.5813 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3298, allocations: 2.172 kB / 0.5813 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3299, allocations: 0 / 0.5813 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005053/0.3304, allocations: 296.2 kB / 0.5816 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.5e-05/0.3305, allocations: 105.7 kB / 0.5817 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.3305, allocations: 9.359 kB / 0.5817 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.3308, allocations: 17.31 kB / 0.5817 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.3308, allocations: 13.62 kB / 0.5817 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.3308, allocations: 7.609 kB / 0.5817 GB, free: 22.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.571e-05/0.3309, allocations: 117 kB / 0.5818 GB, free: 22.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3309, allocations: 0 / 0.5818 GB, free: 22.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003656/0.3313, allocations: 59.16 kB / 0.5819 GB, free: 22.69 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0007655/0.3321, allocations: 0.8719 MB / 0.5827 GB, free: 21.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005454/0.3326, allocations: 186.8 kB / 0.5829 GB, free: 21.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3326, allocations: 5.531 kB / 0.5829 GB, free: 21.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.3329, allocations: 93.91 kB / 0.583 GB, free: 21.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.3333, allocations: 65.56 kB / 0.5831 GB, free: 21.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.3366, allocations: 2.15 MB / 0.5852 GB, free: 20.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.3367, allocations: 0.7179 MB / 0.5859 GB, free: 19.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000345/0.3371, allocations: 52.7 kB / 0.5859 GB, free: 19.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.3372, allocations: 44.98 kB / 0.586 GB, free: 19.23 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3372, allocations: 0 / 0.586 GB, free: 19.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03923/0.3764, allocations: 5.141 MB / 0.591 GB, free: 16.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.389/9.766, allocations: 3.172 kB / 0.591 GB, free: 16.68 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)