Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.001242/0.001242, allocations: 104.1 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.001191/0.001191, 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.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8201/0.8201, allocations: 126.7 MB / 417.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 67.89 kB / 0.4959 GB, free: 2.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2908, allocations: 78.86 MB / 0.5729 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002786/0.2936, allocations: 1.863 MB / 0.5747 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003496/0.2971, allocations: 3.597 MB / 0.5782 GB, free: 27.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.2972, allocations: 1.406 kB / 0.5782 GB, free: 27.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007221/0.298, allocations: 192.7 kB / 0.5784 GB, free: 26.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.2982, allocations: 78.55 kB / 0.5785 GB, free: 26.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.299e-05/0.2983, allocations: 20.12 kB / 0.5785 GB, free: 26.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003517/0.2986, allocations: 268.4 kB / 0.5787 GB, free: 26.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.214e-05/0.2987, allocations: 31.11 kB / 0.5788 GB, free: 26.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.605e-05/0.2988, allocations: 74.08 kB / 0.5788 GB, free: 26.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.299, allocations: 81.11 kB / 0.5789 GB, free: 26.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.299, allocations: 9.344 kB / 0.5789 GB, free: 26.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.823e-05/0.2991, allocations: 23.11 kB / 0.5789 GB, free: 26.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.2991, allocations: 60.38 kB / 0.579 GB, free: 26.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.183e-05/0.2992, allocations: 87.05 kB / 0.5791 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.2994, allocations: 189.3 kB / 0.5793 GB, free: 26.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2994, allocations: 0 / 0.5793 GB, free: 26.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2994, allocations: 4.469 kB / 0.5793 GB, free: 26.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.2994, allocations: 0 / 0.5793 GB, free: 26.38 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.0007157/0.3002, allocations: 0.5242 MB / 0.5798 GB, free: 25.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.3002, allocations: 11.84 kB / 0.5798 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.3002, allocations: 36.3 kB / 0.5798 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.3003, allocations: 22.59 kB / 0.5798 GB, free: 25.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.3006, allocations: 247.9 kB / 0.5801 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-06/0.3006, allocations: 6.75 kB / 0.5801 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.3006, allocations: 7.156 kB / 0.5801 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/0.3009, allocations: 149.6 kB / 0.5802 GB, free: 25.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.301, allocations: 0 / 0.5802 GB, free: 25.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.301, allocations: 1.375 kB / 0.5802 GB, free: 25.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.301, allocations: 8.688 kB / 0.5803 GB, free: 25.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004362/0.3014, allocations: 147.9 kB / 0.5804 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005779/0.302, allocations: 461.5 kB / 0.5808 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.3024, allocations: 169.5 kB / 0.581 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.3027, allocations: 104.7 kB / 0.5811 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.3027, allocations: 1.5 kB / 0.5811 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.164e-05/0.3027, allocations: 35.94 kB / 0.5811 GB, free: 24.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.3027, allocations: 4.734 kB / 0.5811 GB, free: 24.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008039/0.3035, allocations: 296.7 kB / 0.5814 GB, free: 24.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.853e-05/0.3036, allocations: 52.5 kB / 0.5815 GB, free: 24.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.3038, allocations: 253.8 kB / 0.5817 GB, free: 24.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.3038, allocations: 31.05 kB / 0.5817 GB, free: 24.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.3038, allocations: 133.4 kB / 0.5819 GB, free: 24.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.3039, allocations: 48.61 kB / 0.5819 GB, free: 24.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.3039, allocations: 28.7 kB / 0.5819 GB, free: 24.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.359e-05/0.304, allocations: 338.6 kB / 0.5823 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.3042, allocations: 71.16 kB / 0.5823 GB, free: 23.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.3044, allocations: 76.22 kB / 0.5824 GB, free: 23.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004324/0.3049, allocations: 168.9 kB / 0.5826 GB, free: 23.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3049, allocations: 0 / 0.5826 GB, free: 23.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005042/0.3054, allocations: 218.6 kB / 0.5828 GB, free: 23.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.3054, allocations: 5.406 kB / 0.5828 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.3054, allocations: 0 / 0.5828 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.3054, allocations: 4.094 kB / 0.5828 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.3057, allocations: 40.31 kB / 0.5828 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3057, allocations: 3.938 kB / 0.5828 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.3059, allocations: 20 kB / 0.5828 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.3059, allocations: 3.281 kB / 0.5828 GB, free: 23.56 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.299e-05/0.306, allocations: 142.9 kB / 0.583 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.306, allocations: 20.03 kB / 0.583 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/0.3061, allocations: 29.14 kB / 0.583 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3061, allocations: 2.25 kB / 0.583 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.3061, allocations: 4.594 kB / 0.583 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3061, allocations: 7.797 kB / 0.583 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.3063, allocations: 267.9 kB / 0.5833 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3063, allocations: 1.375 kB / 0.5833 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.3066, allocations: 36.06 kB / 0.5833 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3066, allocations: 1.375 kB / 0.5833 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.3066, allocations: 6.922 kB / 0.5833 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3066, allocations: 0 / 0.5833 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3066, allocations: 5.375 kB / 0.5833 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005214/0.3071, allocations: 321.6 kB / 0.5837 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.3072, allocations: 121.3 kB / 0.5838 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.3072, allocations: 1.75 kB / 0.5838 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.3075, allocations: 15.14 kB / 0.5838 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.3075, allocations: 13.3 kB / 0.5838 GB, free: 22.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.3075, allocations: 4.25 kB / 0.5838 GB, free: 22.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001119/0.3076, allocations: 186 kB / 0.584 GB, free: 22.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3077, allocations: 0 / 0.584 GB, free: 22.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.3079, allocations: 39.88 kB / 0.584 GB, free: 22.61 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.0006805/0.3086, allocations: 0.8562 MB / 0.5849 GB, free: 21.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005143/0.3091, allocations: 189.5 kB / 0.585 GB, free: 21.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3092, allocations: 0.5 kB / 0.585 GB, free: 21.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.3094, allocations: 98.11 kB / 0.5851 GB, free: 21.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.3098, allocations: 56.83 kB / 0.5852 GB, free: 21.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/0.3125, allocations: 2.407 MB / 0.5875 GB, free: 19.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.3127, allocations: 0.7392 MB / 0.5883 GB, free: 19.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002061/0.3129, allocations: 55.27 kB / 0.5883 GB, free: 19.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.702e-05/0.313, allocations: 59.31 kB / 0.5884 GB, free: 19.1 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.313, allocations: 0 / 0.5884 GB, free: 19.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.3377, allocations: 4.771 MB / 0.593 GB, free: 16.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.571/7.909, allocations: 3.016 kB / 0.593 GB, free: 16.77 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_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_EN12975HeatLoss.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)