Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",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.001825/0.001825, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.001972/0.001972, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.553/1.553, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8071/0.8071, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 66.45 kB / 0.5735 GB, free: 27.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1374, allocations: 78.87 MB / 0.6505 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007159/0.1446, allocations: 5.389 MB / 0.6558 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4693/0.6139, allocations: 150.8 MB / 0.8031 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008061/0.6148, allocations: 20.34 kB / 0.8031 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005714/0.6153, allocations: 210.2 kB / 0.8033 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.617, allocations: 0.5749 MB / 0.8039 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.6187, allocations: 0.9451 MB / 0.8048 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00142/0.6202, allocations: 1.613 MB / 0.8064 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009345/0.6211, allocations: 0.7461 MB / 0.8071 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007499/0.6219, allocations: 0.593 MB / 0.8077 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006678/0.6225, allocations: 0.6479 MB / 0.8083 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001674/0.6227, allocations: 141.4 kB / 0.8085 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008966/0.6236, allocations: 0.5172 MB / 0.809 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000271/0.6239, allocations: 363.9 kB / 0.8093 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005377/0.6245, allocations: 0.6764 MB / 0.81 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.6263, allocations: 1.922 MB / 0.8118 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6263, allocations: 0 / 0.8118 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6263, allocations: 4 kB / 0.8118 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.66e-05/0.6264, allocations: 0 / 0.8118 GB, free: 10.81 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003067/0.6294, allocations: 1.718 MB / 0.8135 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.6295, allocations: 10.19 kB / 0.8135 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001752/0.6297, allocations: 178.2 kB / 0.8137 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005208/0.6349, allocations: 0.7605 MB / 0.8144 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.6361, allocations: 0.8413 MB / 0.8153 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.319e-05/0.6362, allocations: 82.64 kB / 0.8153 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.6363, allocations: 104.4 kB / 0.8154 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003115/0.6395, allocations: 1.433 MB / 0.8168 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.6395, allocations: 0 / 0.8168 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.6396, allocations: 51.17 kB / 0.8169 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.6397, allocations: 32.03 kB / 0.8169 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004676/0.6443, allocations: 1.881 MB / 0.8188 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006171/0.6505, allocations: 3.623 MB / 0.8223 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003407/0.6539, allocations: 1.365 MB / 0.8236 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/0.6555, allocations: 0.5995 MB / 0.8242 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007168/0.6562, allocations: 479.1 kB / 0.8247 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001901/0.6581, allocations: 0.8202 MB / 0.8255 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=109): time 2.795e-06/0.6581, allocations: 0 / 0.8255 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of matching and sorting (n=109): time 0.006084/0.6642, allocations: 1.971 MB / 0.8274 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.6644, allocations: 197.1 kB / 0.8276 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007943/0.6652, allocations: 0.6477 MB / 0.8282 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.871e-05/0.6653, allocations: 50.77 kB / 0.8283 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003669/0.6656, allocations: 444.2 kB / 0.8287 GB, free: 260 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/0.666, allocations: 376 kB / 0.8291 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003344/0.6663, allocations: 188.8 kB / 0.8292 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.6665, allocations: 395 kB / 0.8296 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.668, allocations: 493.5 kB / 0.8301 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.6696, allocations: 0.6131 MB / 0.8307 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002996/0.6726, allocations: 1.059 MB / 0.8317 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6726, allocations: 0 / 0.8317 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004155/0.6768, allocations: 1.334 MB / 0.833 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.6768, allocations: 4.938 kB / 0.833 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.6768, allocations: 0 / 0.833 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005932/0.6774, allocations: 85.67 kB / 0.8331 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.6787, allocations: 258.2 kB / 0.8334 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/0.6809, allocations: 1.636 MB / 0.8349 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.6822, allocations: 166 kB / 0.8351 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.173e-05/0.6823, allocations: 45.16 kB / 0.8351 GB, free: 11.81 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005337/0.6828, allocations: 281.2 kB / 0.8354 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.6831, allocations: 104.8 kB / 0.8355 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004619/0.6877, allocations: 1.683 MB / 0.8372 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.6877, allocations: 12.72 kB / 0.8372 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.6877, allocations: 0 / 0.8372 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.6877, allocations: 7.969 kB / 0.8372 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005987/0.6937, allocations: 2.811 MB / 0.8399 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.6937, allocations: 0 / 0.8399 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.6951, allocations: 255.6 kB / 0.8402 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004556/0.6956, allocations: 72.8 kB / 0.8402 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.22e-05/0.6957, allocations: 35.95 kB / 0.8403 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/0.6978, allocations: 1.65 MB / 0.8419 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.6978, allocations: 8.859 kB / 0.8419 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004284/0.7021, allocations: 1.537 MB / 0.8434 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004906/0.7026, allocations: 327.9 kB / 0.8437 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.7028, allocations: 27.95 kB / 0.8437 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.704, allocations: 127.9 kB / 0.8439 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/0.7042, allocations: 84.88 kB / 0.8439 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.7043, allocations: 43.97 kB / 0.844 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006468/0.705, allocations: 475 kB / 0.8444 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.705, allocations: 0 / 0.8444 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001048/0.706, allocations: 399 kB / 0.8448 GB, free: 2.758 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006375/0.7124, allocations: 2.622 MB / 0.8474 GB, free: 324 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003877/0.7163, allocations: 1.362 MB / 0.8487 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.7163, allocations: 0 / 0.8487 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002096/0.7184, allocations: 0.8203 MB / 0.8495 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.7198, allocations: 317.7 kB / 0.8498 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0173/0.7371, allocations: 8.226 MB / 0.8578 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007383/0.7379, allocations: 1.084 MB / 0.8589 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001239/0.7391, allocations: 339.8 kB / 0.8592 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007887/0.7399, allocations: 473.3 kB / 0.8597 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of SimCode: time 7.11e-07/0.7399, allocations: 0 / 0.8597 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06243/0.8023, allocations: 25.6 MB / 0.8847 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.7, allocations: 11.67 kB / 0.8847 GB, free: 10.3 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)