Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.001357/0.001357, allocations: 106 kB / 15.98 MB, free: 6.352 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.00134/0.00134, allocations: 190.6 kB / 16.91 MB, free: 6.195 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.405/1.405, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8168/0.8168, allocations: 126.7 MB / 417.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 63.91 kB / 0.4953 GB, free: 3.078 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2971, allocations: 78.87 MB / 0.5724 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002906/0.3001, allocations: 1.905 MB / 0.5742 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00342/0.3035, allocations: 3.494 MB / 0.5776 GB, free: 27.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.3036, allocations: 1.875 kB / 0.5776 GB, free: 27.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007161/0.3044, allocations: 170.4 kB / 0.5778 GB, free: 26.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.3046, allocations: 63.3 kB / 0.5779 GB, free: 26.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.24e-05/0.3047, allocations: 26.08 kB / 0.5779 GB, free: 26.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003948/0.3051, allocations: 262.7 kB / 0.5781 GB, free: 26.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.79e-05/0.3052, allocations: 30.03 kB / 0.5782 GB, free: 26.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.3053, allocations: 74.48 kB / 0.5782 GB, free: 26.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.3054, allocations: 83.25 kB / 0.5783 GB, free: 26.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.3055, allocations: 6.875 kB / 0.5783 GB, free: 26.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.874e-05/0.3056, allocations: 26.08 kB / 0.5783 GB, free: 26.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.727e-05/0.3056, allocations: 54.98 kB / 0.5784 GB, free: 26.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.273e-05/0.3057, allocations: 80.72 kB / 0.5785 GB, free: 26.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.3059, allocations: 182.8 kB / 0.5787 GB, free: 26.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3059, allocations: 4.453 kB / 0.5787 GB, free: 26.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.306, allocations: 0 / 0.5787 GB, free: 26.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.306, allocations: 1.219 kB / 0.5787 GB, free: 26.59 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007443/0.3067, allocations: 0.5249 MB / 0.5792 GB, free: 26.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3068, allocations: 10.69 kB / 0.5792 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.413e-05/0.3068, allocations: 42.02 kB / 0.5792 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.3069, allocations: 22.88 kB / 0.5792 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.3071, allocations: 238.4 kB / 0.5795 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3072, allocations: 11.06 kB / 0.5795 GB, free: 25.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.3072, allocations: 2.688 kB / 0.5795 GB, free: 25.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.3075, allocations: 142.7 kB / 0.5796 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.3075, allocations: 0.8438 kB / 0.5796 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.3075, allocations: 1.25 kB / 0.5796 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/0.3076, allocations: 13.92 kB / 0.5796 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.308, allocations: 134.1 kB / 0.5798 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005482/0.3085, allocations: 448.4 kB / 0.5802 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/0.3089, allocations: 165 kB / 0.5803 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.3091, allocations: 109.5 kB / 0.5805 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.3092, allocations: 1.375 kB / 0.5805 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.3092, allocations: 33.34 kB / 0.5805 GB, free: 25.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.3092, allocations: 0 / 0.5805 GB, free: 25.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007539/0.31, allocations: 291.1 kB / 0.5808 GB, free: 24.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.31, allocations: 57.78 kB / 0.5808 GB, free: 24.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.3102, allocations: 234.7 kB / 0.581 GB, free: 24.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.3102, allocations: 29.17 kB / 0.5811 GB, free: 24.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.3102, allocations: 133.8 kB / 0.5812 GB, free: 24.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.3103, allocations: 50.14 kB / 0.5812 GB, free: 24.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.3103, allocations: 30.55 kB / 0.5813 GB, free: 24.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.517e-05/0.3104, allocations: 333.7 kB / 0.5816 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.3106, allocations: 72.97 kB / 0.5817 GB, free: 24.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.3108, allocations: 73.91 kB / 0.5817 GB, free: 24.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.3112, allocations: 155.2 kB / 0.5819 GB, free: 23.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3112, allocations: 5.094 kB / 0.5819 GB, free: 23.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004643/0.3117, allocations: 217.6 kB / 0.5821 GB, free: 23.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3117, allocations: 7.719 kB / 0.5821 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3117, allocations: 0 / 0.5821 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3117, allocations: 1.344 kB / 0.5821 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.312, allocations: 36.48 kB / 0.5821 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.312, allocations: 4.531 kB / 0.5821 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.3122, allocations: 14.11 kB / 0.5822 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.3122, allocations: 2.75 kB / 0.5822 GB, free: 23.84 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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.408e-05/0.3123, allocations: 137.6 kB / 0.5823 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.3123, allocations: 25.23 kB / 0.5823 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.765e-05/0.3124, allocations: 27.66 kB / 0.5823 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3124, allocations: 5.875 kB / 0.5823 GB, free: 23.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3124, allocations: 3.938 kB / 0.5823 GB, free: 23.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3124, allocations: 3.984 kB / 0.5824 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.3126, allocations: 268.8 kB / 0.5826 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3126, allocations: 0 / 0.5826 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.3128, allocations: 37.45 kB / 0.5826 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3128, allocations: 0 / 0.5826 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.3129, allocations: 3.344 kB / 0.5826 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3129, allocations: 0 / 0.5826 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3129, allocations: 4.969 kB / 0.5827 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004817/0.3133, allocations: 311.8 kB / 0.5829 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.3134, allocations: 110.5 kB / 0.5831 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.3135, allocations: 5.375 kB / 0.5831 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.3136, allocations: 11.92 kB / 0.5831 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.3137, allocations: 17.67 kB / 0.5831 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.3137, allocations: 2.656 kB / 0.5831 GB, free: 23.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.3138, allocations: 175 kB / 0.5833 GB, free: 22.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.82e-07/0.3138, allocations: 2.031 kB / 0.5833 GB, free: 22.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.3141, allocations: 41.16 kB / 0.5833 GB, free: 22.89 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 (13): * Single equations (assignments): 13 * 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.0006631/0.3148, allocations: 0.8509 MB / 0.5841 GB, free: 22.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004703/0.3153, allocations: 182.3 kB / 0.5843 GB, free: 22.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3153, allocations: 0.7188 kB / 0.5843 GB, free: 22.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.3155, allocations: 88.06 kB / 0.5844 GB, free: 22.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.3159, allocations: 50.88 kB / 0.5844 GB, free: 22.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.3186, allocations: 2.377 MB / 0.5868 GB, free: 20.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.3188, allocations: 0.7415 MB / 0.5875 GB, free: 19.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.319, allocations: 51.56 kB / 0.5875 GB, free: 19.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.62e-05/0.3191, allocations: 59.47 kB / 0.5876 GB, free: 19.4 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3191, allocations: 0 / 0.5876 GB, free: 19.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.023/1.342, allocations: 4.302 MB / 0.5918 GB, free: 17.38 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/1.342, allocations: 216.9 kB / 0.592 GB, free: 17.13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/3.777, allocations: 3.938 kB / 0.592 GB, free: 17.13 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)