Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.004772/0.004772, allocations: 99.09 kB / 15.73 MB, free: 6.062 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.001384/0.001384, allocations: 201.5 kB / 16.68 MB, free: 5.977 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.665/2.665, allocations: 482.6 MB / 0.755 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 68.11 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2645, allocations: 162.3 MB / 1.242 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003182/0.2677, allocations: 2.053 MB / 1.244 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004638/0.2724, allocations: 4.062 MB / 1.248 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.406e-05/0.2725, allocations: 0 / 1.248 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006471/0.2731, allocations: 183.2 kB / 1.248 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.2732, allocations: 71.42 kB / 1.248 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005566/0.2738, allocations: 263.3 kB / 1.248 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005007/0.2743, allocations: 378.8 kB / 1.249 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.2744, allocations: 56.3 kB / 1.249 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.2746, allocations: 119.6 kB / 1.249 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.2748, allocations: 123.5 kB / 1.249 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.2748, allocations: 16 kB / 1.249 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004428/0.2752, allocations: 307.5 kB / 1.249 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.2754, allocations: 107.6 kB / 1.249 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.2755, allocations: 151.1 kB / 1.25 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005483/0.2761, allocations: 0.5097 MB / 1.25 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.2761, allocations: 4 kB / 1.25 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2761, allocations: 0 / 1.25 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.2761, allocations: 0 / 1.25 GB, free: 1.41 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001197/0.2773, allocations: 0.7562 MB / 1.251 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.2773, allocations: 8.031 kB / 1.251 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.438e-05/0.2774, allocations: 46.73 kB / 1.251 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.286e-05/0.2775, allocations: 40.7 kB / 1.251 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004586/0.2779, allocations: 342.5 kB / 1.251 GB, free: 132 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.2779, allocations: 4.375 kB / 1.251 GB, free: 128 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.278, allocations: 8.375 kB / 1.251 GB, free: 120 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4554/0.7334, allocations: 195.8 kB / 1.251 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.7334, allocations: 0.8125 kB / 1.251 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.7335, allocations: 5.797 kB / 1.251 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.7335, allocations: 1.531 kB / 1.251 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007227/0.7342, allocations: 242.8 kB / 1.252 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009142/0.7351, allocations: 0.5827 MB / 1.252 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004096/0.7356, allocations: 176 kB / 1.252 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.7359, allocations: 135.4 kB / 1.252 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.2e-05/0.736, allocations: 21.44 kB / 1.253 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.736, allocations: 34.97 kB / 1.253 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.462e-06/0.736, allocations: 4.031 kB / 1.253 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.001194/0.7372, allocations: 444.8 kB / 1.253 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.7372, allocations: 56.56 kB / 1.253 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/0.7376, allocations: 409.7 kB / 1.253 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.7376, allocations: 26.58 kB / 1.253 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.7377, allocations: 179 kB / 1.254 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.7378, allocations: 42.94 kB / 1.254 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.296e-05/0.7378, allocations: 41.77 kB / 1.254 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.991e-05/0.7379, allocations: 344.8 kB / 1.254 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/0.7383, allocations: 176.7 kB / 1.254 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.7387, allocations: 168.5 kB / 1.254 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007454/0.7395, allocations: 354.4 kB / 1.255 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7395, allocations: 2.375 kB / 1.255 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008865/0.7404, allocations: 471.5 kB / 1.255 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/0.7404, allocations: 42.02 kB / 1.255 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.7404, allocations: 4.438 kB / 1.255 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.7404, allocations: 0 / 1.255 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.7407, allocations: 52.73 kB / 1.255 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.7407, allocations: 0.6094 kB / 1.255 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.741, allocations: 38.08 kB / 1.255 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.741, allocations: 12.02 kB / 1.255 GB, free: 14.05 MB / 0.9981 GB 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001054/0.7411, allocations: 153.5 kB / 1.255 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.7412, allocations: 35.91 kB / 1.255 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008582/0.742, allocations: 348.6 kB / 1.256 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.742, allocations: 4.812 kB / 1.256 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.742, allocations: 0.75 kB / 1.256 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.742, allocations: 4.359 kB / 1.256 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.7424, allocations: 334.8 kB / 1.256 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.7424, allocations: 0.6562 kB / 1.256 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.7426, allocations: 49.69 kB / 1.256 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.7426, allocations: 3.188 kB / 1.256 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.7427, allocations: 3.906 kB / 1.256 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.7427, allocations: 12.25 kB / 1.256 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.7427, allocations: 0 / 1.256 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007636/0.7434, allocations: 421 kB / 1.257 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.212e-05/0.7435, allocations: 130.2 kB / 1.257 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.7436, allocations: 7.656 kB / 1.257 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.7438, allocations: 27.81 kB / 1.257 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/0.7439, allocations: 18.75 kB / 1.257 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.7439, allocations: 5.078 kB / 1.257 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002389/0.7442, allocations: 291.5 kB / 1.257 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7442, allocations: 1.125 kB / 1.257 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003924/0.7446, allocations: 119.6 kB / 1.257 GB, free: 13.07 MB / 0.9981 GB 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 (11): * Single equations (assignments): 11 * 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.001118/0.7457, allocations: 1.027 MB / 1.258 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009413/0.7466, allocations: 0.4926 MB / 1.259 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7466, allocations: 0 / 1.259 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003804/0.747, allocations: 147 kB / 1.259 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.7475, allocations: 62.64 kB / 1.259 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004643/0.7521, allocations: 4.189 MB / 1.263 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.7523, allocations: 0.782 MB / 1.264 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001554/0.7525, allocations: 49.72 kB / 1.264 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.7526, allocations: 102.1 kB / 1.264 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.7526, allocations: 0 / 1.264 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6355/1.388, allocations: 8.338 MB / 1.272 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.939/10.33, allocations: 6.688 kB / 1.272 GB, free: 8.391 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)