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.001332/0.001333, allocations: 102.3 kB / 16.27 MB, free: 5.992 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.001333/0.001333, allocations: 185.1 kB / 17.2 MB, free: 5.605 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.411/1.411, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8091/0.8091, allocations: 126.7 MB / 417.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001934, allocations: 63.91 kB / 0.4958 GB, free: 2.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3218, allocations: 78.86 MB / 0.5729 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003337/0.3252, allocations: 1.848 MB / 0.5747 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004054/0.3293, allocations: 3.532 MB / 0.5781 GB, free: 26.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.3294, allocations: 1.375 kB / 0.5781 GB, free: 26.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007734/0.3302, allocations: 174 kB / 0.5783 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.3305, allocations: 68.31 kB / 0.5784 GB, free: 26.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.428e-05/0.3306, allocations: 33.64 kB / 0.5784 GB, free: 26.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004033/0.331, allocations: 245 kB / 0.5786 GB, free: 26.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3311, allocations: 37.61 kB / 0.5787 GB, free: 26.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.3312, allocations: 71.8 kB / 0.5787 GB, free: 26.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.3313, allocations: 78.55 kB / 0.5788 GB, free: 26.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.3314, allocations: 7.5 kB / 0.5788 GB, free: 26.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.058e-05/0.3315, allocations: 27.86 kB / 0.5788 GB, free: 26.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.387e-05/0.3315, allocations: 58.83 kB / 0.5789 GB, free: 26.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.097e-05/0.3316, allocations: 82.52 kB / 0.579 GB, free: 26.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.3319, allocations: 182.2 kB / 0.5791 GB, free: 26.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3319, allocations: 0.75 kB / 0.5791 GB, free: 26.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3319, allocations: 0.7188 kB / 0.5791 GB, free: 26.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3319, allocations: 0 / 0.5791 GB, free: 26.5 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.0007576/0.3327, allocations: 0.5211 MB / 0.5796 GB, free: 26.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3327, allocations: 9.062 kB / 0.5797 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.3327, allocations: 41.34 kB / 0.5797 GB, free: 26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.3328, allocations: 22.88 kB / 0.5797 GB, free: 25.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.3331, allocations: 244.3 kB / 0.58 GB, free: 25.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3331, allocations: 10.81 kB / 0.58 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.3331, allocations: 3.5 kB / 0.58 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.3335, allocations: 137.1 kB / 0.5801 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.3335, allocations: 1.094 kB / 0.5801 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.3335, allocations: 4 kB / 0.5801 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.636e-05/0.3335, allocations: 12.23 kB / 0.5801 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004281/0.334, allocations: 136.2 kB / 0.5802 GB, free: 25.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005661/0.3345, allocations: 445.4 kB / 0.5807 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.3349, allocations: 168.8 kB / 0.5808 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.3352, allocations: 103.2 kB / 0.5809 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.3352, allocations: 1.062 kB / 0.5809 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.3352, allocations: 32.84 kB / 0.581 GB, free: 25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.3352, allocations: 0 / 0.581 GB, free: 25 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007828/0.336, allocations: 289.2 kB / 0.5812 GB, free: 24.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.3361, allocations: 53.53 kB / 0.5813 GB, free: 24.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.3362, allocations: 239.2 kB / 0.5815 GB, free: 24.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.3363, allocations: 29.17 kB / 0.5815 GB, free: 24.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.3363, allocations: 134.3 kB / 0.5817 GB, free: 24.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.3364, allocations: 52.06 kB / 0.5817 GB, free: 24.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.407e-05/0.3364, allocations: 31.7 kB / 0.5818 GB, free: 24.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.16e-05/0.3365, allocations: 333.7 kB / 0.5821 GB, free: 24.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.3367, allocations: 70.81 kB / 0.5821 GB, free: 24.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.3369, allocations: 75.06 kB / 0.5822 GB, free: 23.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.3373, allocations: 155.5 kB / 0.5824 GB, free: 23.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3373, allocations: 0.5312 kB / 0.5824 GB, free: 23.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004902/0.3378, allocations: 211.1 kB / 0.5826 GB, free: 23.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3379, allocations: 9.094 kB / 0.5826 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3379, allocations: 3.984 kB / 0.5826 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3379, allocations: 1.125 kB / 0.5826 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.3381, allocations: 40.42 kB / 0.5826 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3381, allocations: 5.844 kB / 0.5826 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.3383, allocations: 14.36 kB / 0.5826 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.3383, allocations: 2.5 kB / 0.5826 GB, free: 23.78 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.866e-05/0.3384, allocations: 140.6 kB / 0.5828 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/0.3385, allocations: 21.59 kB / 0.5828 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.83e-05/0.3385, allocations: 29.44 kB / 0.5828 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.3385, allocations: 1.812 kB / 0.5828 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3385, allocations: 4.531 kB / 0.5828 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3385, allocations: 5.359 kB / 0.5828 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.3388, allocations: 263.4 kB / 0.5831 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3388, allocations: 5.281 kB / 0.5831 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.339, allocations: 36.23 kB / 0.5831 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.339, allocations: 3.531 kB / 0.5831 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.339, allocations: 1.094 kB / 0.5831 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.339, allocations: 0 / 0.5831 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.339, allocations: 3.938 kB / 0.5831 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005043/0.3395, allocations: 312.2 kB / 0.5834 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.506e-05/0.3396, allocations: 110.8 kB / 0.5835 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.3397, allocations: 5.188 kB / 0.5835 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.3399, allocations: 13.33 kB / 0.5835 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.3399, allocations: 18.17 kB / 0.5836 GB, free: 22.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.34, allocations: 7.047 kB / 0.5836 GB, free: 22.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.3401, allocations: 171.1 kB / 0.5837 GB, free: 22.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.3401, allocations: 0 / 0.5837 GB, free: 22.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003123/0.3405, allocations: 42.28 kB / 0.5838 GB, free: 22.84 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.0008149/0.3413, allocations: 0.8536 MB / 0.5846 GB, free: 22.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005725/0.3419, allocations: 179.3 kB / 0.5848 GB, free: 22.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3419, allocations: 4.688 kB / 0.5848 GB, free: 22.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.3421, allocations: 88.03 kB / 0.5849 GB, free: 21.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.3427, allocations: 52.27 kB / 0.5849 GB, free: 21.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.3456, allocations: 2.33 MB / 0.5872 GB, free: 20.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.3458, allocations: 0.7489 MB / 0.5879 GB, free: 19.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001867/0.346, allocations: 52.84 kB / 0.588 GB, free: 19.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.907e-05/0.3461, allocations: 61.41 kB / 0.588 GB, free: 19.38 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3461, allocations: 0 / 0.588 GB, free: 19.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.3712, allocations: 4.464 MB / 0.5924 GB, free: 17.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/8.115, allocations: 8.594 kB / 0.5924 GB, free: 17.2 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)