Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions",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.001571/0.001572, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 194.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.665/1.665, allocations: 292.3 MB / 0.5489 GB, free: 12.88 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001444, allocations: 67.83 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2561, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions): time 0.05199/0.3082, allocations: 49.39 MB / 0.8317 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0314/0.3397, allocations: 18.15 MB / 0.8494 GB, free: 9.613 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004263/0.344, allocations: 67.62 kB / 0.8495 GB, free: 9.547 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003442/0.3475, allocations: 0.8648 MB / 0.8503 GB, free: 8.676 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008745/0.3563, allocations: 2.342 MB / 0.8526 GB, free: 6.324 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005768/0.3621, allocations: 1.838 MB / 0.8544 GB, free: 4.496 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01359/0.3757, allocations: 9.681 MB / 0.8639 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007031/0.3828, allocations: 4.88 MB / 0.8686 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008154/0.391, allocations: 3.483 MB / 0.872 GB, free: 2.348 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005828/0.3968, allocations: 2.988 MB / 0.875 GB, free: 15.35 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.001744/0.3986, allocations: 0.5039 MB / 0.8754 GB, free: 14.84 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004811/0.4034, allocations: 1.584 MB / 0.877 GB, free: 13.26 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.001734/0.4052, allocations: 1.172 MB / 0.8781 GB, free: 12.08 MB / 0.7013 GB Notification: Performance of NFVerifyModel.verify: time 0.004301/0.4095, allocations: 2.368 MB / 0.8805 GB, free: 9.703 MB / 0.7013 GB Notification: Performance of NFConvertDAE.convert: time 0.009822/0.4193, allocations: 6.829 MB / 0.8871 GB, free: 2.855 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.4194, allocations: 0 / 0.8871 GB, free: 2.855 MB / 0.7013 GB Notification: Performance of FrontEnd: time 4.969e-06/0.4194, allocations: 0 / 0.8871 GB, free: 2.855 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 0.0002044/0.4196, allocations: 3.938 kB / 0.8871 GB, free: 2.852 MB / 0.7013 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.01364/0.4333, allocations: 4.676 MB / 0.8917 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.4333, allocations: 12.03 kB / 0.8917 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009622/0.4343, allocations: 413.2 kB / 0.8921 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01273/0.447, allocations: 1.728 MB / 0.8938 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008859/0.456, allocations: 3.398 MB / 0.8971 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002465/0.4563, allocations: 217.7 kB / 0.8973 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/0.4575, allocations: 291.9 kB / 0.8976 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0134/0.4709, allocations: 4.584 MB / 0.9021 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-05/0.4711, allocations: 7.938 kB / 0.9021 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004536/0.4715, allocations: 124 kB / 0.9022 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001478/0.4717, allocations: 133.5 kB / 0.9023 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/0.4865, allocations: 4.55 MB / 0.9068 GB, free: 14.43 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4918/0.9784, allocations: 15.87 MB / 0.9223 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008617/0.987, allocations: 3.01 MB / 0.9252 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004268/0.9913, allocations: 1.595 MB / 0.9268 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001819/0.9932, allocations: 1.68 MB / 0.9284 GB, free: 124.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.399e-05/0.9933, allocations: 57.5 kB / 0.9285 GB, free: 124.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=168): time 3.787e-06/0.9933, allocations: 0 / 0.9285 GB, free: 124.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=168): time 0.01306/1.006, allocations: 4.107 MB / 0.9325 GB, free: 123 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/1.006, allocations: 120.5 kB / 0.9326 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006111/1.013, allocations: 3.241 MB / 0.9357 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006339/1.013, allocations: 59.39 kB / 0.9358 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001444/1.015, allocations: 1.603 MB / 0.9374 GB, free: 120.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001077/1.016, allocations: 0.5786 MB / 0.9379 GB, free: 120.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001221/1.017, allocations: 489.6 kB / 0.9384 GB, free: 120 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.096e-05/1.017, allocations: 303.3 kB / 0.9387 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004669/1.022, allocations: 1.416 MB / 0.9401 GB, free: 119.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005279/1.027, allocations: 1.881 MB / 0.9419 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009475/1.037, allocations: 3.218 MB / 0.9451 GB, free: 116.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-05/1.037, allocations: 3.656 kB / 0.9451 GB, free: 116.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01272/1.049, allocations: 3.736 MB / 0.9487 GB, free: 115.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/1.049, allocations: 9.125 kB / 0.9487 GB, free: 115.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.675e-05/1.049, allocations: 11.31 kB / 0.9487 GB, free: 115.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.769e-05/1.05, allocations: 21.53 kB / 0.9487 GB, free: 115.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00373/1.053, allocations: 0.6477 MB / 0.9494 GB, free: 115.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.71e-05/1.053, allocations: 31.81 kB / 0.9494 GB, free: 115.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004577/1.058, allocations: 437.8 kB / 0.9498 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003895/1.058, allocations: 111.1 kB / 0.9499 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006126/1.064, allocations: 2.344 MB / 0.9522 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005069/1.07, allocations: 1.872 MB / 0.954 GB, free: 113.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009123/1.079, allocations: 3.217 MB / 0.9572 GB, free: 111.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-05/1.079, allocations: 3.969 kB / 0.9572 GB, free: 111.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.01055/1.089, allocations: 3.718 MB / 0.9608 GB, free: 110 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/1.089, allocations: 7.906 kB / 0.9608 GB, free: 110 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/1.089, allocations: 11.72 kB / 0.9608 GB, free: 110 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/1.089, allocations: 27.34 kB / 0.9609 GB, free: 110 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003335/1.093, allocations: 0.6485 MB / 0.9615 GB, free: 109.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.118e-05/1.093, allocations: 26.72 kB / 0.9615 GB, free: 109.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004442/1.097, allocations: 356.7 kB / 0.9619 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002737/1.098, allocations: 113.4 kB / 0.962 GB, free: 109.6 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (274): * Single equations (assignments): 274 * 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 0.0008582/1.098, allocations: 311.3 kB / 0.9623 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00102/1.099, allocations: 313.7 kB / 0.9626 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008691/1.108, allocations: 3.615 MB / 0.9661 GB, free: 107 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-05/1.108, allocations: 14.75 kB / 0.9661 GB, free: 107 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.108, allocations: 1.5 kB / 0.9661 GB, free: 107 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006168/1.114, allocations: 2.748 MB / 0.9688 GB, free: 105.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/1.129, allocations: 8.159 MB / 0.9768 GB, free: 98.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.129, allocations: 7.938 kB / 0.9768 GB, free: 98.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002562/1.131, allocations: 471.4 kB / 0.9772 GB, free: 98.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/1.131, allocations: 12 kB / 0.9772 GB, free: 98.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001536/1.132, allocations: 59.94 kB / 0.9773 GB, free: 98.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.231e-05/1.132, allocations: 15.94 kB / 0.9773 GB, free: 98.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.132, allocations: 4 kB / 0.9773 GB, free: 98.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/1.142, allocations: 4.77 MB / 0.982 GB, free: 93.17 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002077/1.145, allocations: 0.7675 MB / 0.9827 GB, free: 92.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000871/1.145, allocations: 51.84 kB / 0.9828 GB, free: 92.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003282/1.149, allocations: 211.6 kB / 0.983 GB, free: 92.12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002401/1.149, allocations: 113 kB / 0.9831 GB, free: 92.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/1.149, allocations: 87.92 kB / 0.9832 GB, free: 91.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003566/1.153, allocations: 2.477 MB / 0.9856 GB, free: 89.46 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/1.153, allocations: 2.078 kB / 0.9856 GB, free: 89.46 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004833/1.158, allocations: 1.717 MB / 0.9873 GB, free: 87.77 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 6 (solAsh.vol[1].dynBal.U,solAsh.vol[2].dynBal.U,solAsh.vol[3].dynBal.U,solEn.vol[1].dynBal.U,solEn.vol[2].dynBal.U,solEn.vol[3].dynBal.U) * 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 (167): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01155/1.169, allocations: 5.68 MB / 0.9928 GB, free: 82.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01443/1.184, allocations: 5.909 MB / 0.9986 GB, free: 76.18 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/1.184, allocations: 4.5 kB / 0.9986 GB, free: 76.18 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003407/1.187, allocations: 1.402 MB / 1 GB, free: 74.78 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009227/1.196, allocations: 1.705 MB / 1.002 GB, free: 73.19 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05758/1.254, allocations: 33.85 MB / 1.035 GB, free: 36.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/1.256, allocations: 2.439 MB / 1.037 GB, free: 34.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.006501/1.262, allocations: 1.415 MB / 1.038 GB, free: 33.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002794/1.265, allocations: 1.456 MB / 1.04 GB, free: 31.65 MB / 0.7325 GB Notification: Performance of SimCode: time 1.463e-06/1.265, allocations: 0 / 1.04 GB, free: 31.65 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.164/1.429, allocations: 94.95 MB / 1.133 GB, free: 1.477 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/12.14, allocations: 15.42 kB / 1.133 GB, free: 1.465 MB / 0.795 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe 2>&1)