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.001777/0.001777, allocations: 99.8 kB / 16.27 MB, free: 5.93 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.001905/0.001905, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.418/1.418, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8088/0.8088, allocations: 126.7 MB / 417.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 72.06 kB / 0.4959 GB, free: 2.691 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.314, allocations: 78.86 MB / 0.5729 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002572/0.3166, allocations: 1.848 MB / 0.5747 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003057/0.3197, allocations: 3.54 MB / 0.5781 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.665e-05/0.3198, allocations: 2.219 kB / 0.5781 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006195/0.3204, allocations: 175.4 kB / 0.5783 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.3206, allocations: 73.27 kB / 0.5784 GB, free: 26.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.758e-05/0.3206, allocations: 25.08 kB / 0.5784 GB, free: 26.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.321, allocations: 251.2 kB / 0.5786 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.181e-05/0.3211, allocations: 25.02 kB / 0.5786 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.679e-05/0.3212, allocations: 79.7 kB / 0.5787 GB, free: 26.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.3213, allocations: 77.39 kB / 0.5788 GB, free: 26.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.3213, allocations: 7.75 kB / 0.5788 GB, free: 26.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.763e-05/0.3214, allocations: 31.52 kB / 0.5788 GB, free: 26.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.999e-05/0.3215, allocations: 49.55 kB / 0.5789 GB, free: 26.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.732e-05/0.3216, allocations: 87.12 kB / 0.579 GB, free: 26.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.3218, allocations: 178.6 kB / 0.5791 GB, free: 26.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3218, allocations: 1.031 kB / 0.5791 GB, free: 26.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3218, allocations: 0.875 kB / 0.5791 GB, free: 26.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.3218, allocations: 0 / 0.5791 GB, free: 26.61 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.0006702/0.3225, allocations: 0.5214 MB / 0.5796 GB, free: 26.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.3225, allocations: 16.91 kB / 0.5797 GB, free: 26.12 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.946e-05/0.3225, allocations: 41.23 kB / 0.5797 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.3226, allocations: 21.41 kB / 0.5797 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.3228, allocations: 245.2 kB / 0.58 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.3229, allocations: 6.75 kB / 0.58 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.3229, allocations: 4.156 kB / 0.58 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.3232, allocations: 138.7 kB / 0.5801 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.3232, allocations: 0.5 kB / 0.5801 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3232, allocations: 0.7812 kB / 0.5801 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.3233, allocations: 16.3 kB / 0.5801 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004057/0.3237, allocations: 131.6 kB / 0.5802 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.3242, allocations: 450.9 kB / 0.5807 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.3246, allocations: 165.2 kB / 0.5808 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.3249, allocations: 101.5 kB / 0.5809 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.3249, allocations: 5.219 kB / 0.5809 GB, free: 25.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.029e-05/0.3249, allocations: 32.47 kB / 0.581 GB, free: 25.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.3249, allocations: 1.156 kB / 0.581 GB, free: 25.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007624/0.3257, allocations: 284 kB / 0.5812 GB, free: 24.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.3257, allocations: 53.03 kB / 0.5813 GB, free: 24.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.3259, allocations: 238.5 kB / 0.5815 GB, free: 24.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.3259, allocations: 33.69 kB / 0.5815 GB, free: 24.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.326, allocations: 127.2 kB / 0.5817 GB, free: 24.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.326, allocations: 49.11 kB / 0.5817 GB, free: 24.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.326, allocations: 27.86 kB / 0.5817 GB, free: 24.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.79e-05/0.3261, allocations: 343.6 kB / 0.5821 GB, free: 24.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.3263, allocations: 65.72 kB / 0.5821 GB, free: 24.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.3265, allocations: 79.03 kB / 0.5822 GB, free: 24.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004182/0.327, allocations: 156.2 kB / 0.5824 GB, free: 23.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.327, allocations: 0 / 0.5824 GB, free: 23.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004676/0.3274, allocations: 211.1 kB / 0.5826 GB, free: 23.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.3275, allocations: 8.156 kB / 0.5826 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.3275, allocations: 0 / 0.5826 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.3275, allocations: 3.906 kB / 0.5826 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.3277, allocations: 34.2 kB / 0.5826 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3277, allocations: 3.938 kB / 0.5826 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.3279, allocations: 21.05 kB / 0.5826 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.3279, allocations: 2.75 kB / 0.5826 GB, free: 23.86 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 7.808e-05/0.328, allocations: 142.2 kB / 0.5828 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-05/0.328, allocations: 22.16 kB / 0.5828 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.531e-05/0.3281, allocations: 24.78 kB / 0.5828 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3281, allocations: 1.438 kB / 0.5828 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3281, allocations: 12.84 kB / 0.5828 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3281, allocations: 3.938 kB / 0.5828 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.3283, allocations: 265.4 kB / 0.5831 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3283, allocations: 0 / 0.5831 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.3285, allocations: 45.17 kB / 0.5831 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3285, allocations: 2.094 kB / 0.5831 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.3286, allocations: 1.312 kB / 0.5831 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3286, allocations: 1.344 kB / 0.5831 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3286, allocations: 3.938 kB / 0.5831 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004987/0.3291, allocations: 313.4 kB / 0.5834 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.266e-05/0.3291, allocations: 112.4 kB / 0.5835 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.3292, allocations: 2.531 kB / 0.5835 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.3294, allocations: 15.58 kB / 0.5836 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.3294, allocations: 12.92 kB / 0.5836 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.3294, allocations: 7.734 kB / 0.5836 GB, free: 23.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.3296, allocations: 172.7 kB / 0.5837 GB, free: 22.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3296, allocations: 0 / 0.5837 GB, free: 22.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.3298, allocations: 36.97 kB / 0.5838 GB, free: 22.91 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.0006525/0.3305, allocations: 0.8529 MB / 0.5846 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000492/0.331, allocations: 185.5 kB / 0.5848 GB, free: 22.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.331, allocations: 1.094 kB / 0.5848 GB, free: 22.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.3313, allocations: 88.09 kB / 0.5849 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.0004057/0.3317, allocations: 53.3 kB / 0.5849 GB, free: 22.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.3342, allocations: 2.332 MB / 0.5872 GB, free: 20.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.3344, allocations: 0.7451 MB / 0.5879 GB, free: 19.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001683/0.3346, allocations: 51.06 kB / 0.588 GB, free: 19.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.119e-05/0.3347, allocations: 60 kB / 0.588 GB, free: 19.46 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3347, allocations: 0 / 0.588 GB, free: 19.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02396/0.3586, allocations: 4.462 MB / 0.5924 GB, free: 17.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/8.081, allocations: 5.922 kB / 0.5924 GB, free: 17.29 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)