Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.004431/0.004431, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001306/0.001306, allocations: 195.7 kB / 16.68 MB, free: 6.352 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002021/0.002021, allocations: 293.7 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8859/0.8859, allocations: 169.3 MB / 0.4983 GB, free: 13.76 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001614, allocations: 88.28 kB / 0.6809 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1358, allocations: 86.97 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006858/0.1427, allocations: 6.481 MB / 0.7722 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4176/0.5604, allocations: 151.6 MB / 0.9203 GB, free: 4.828 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007688/0.5612, allocations: 23.94 kB / 0.9203 GB, free: 4.805 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006323/0.5618, allocations: 261.3 kB / 0.9205 GB, free: 4.547 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.5636, allocations: 0.7044 MB / 0.9212 GB, free: 3.844 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002393/0.566, allocations: 1.356 MB / 0.9226 GB, free: 2.492 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002067/0.5681, allocations: 2.681 MB / 0.9252 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.5697, allocations: 1.593 MB / 0.9267 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.5708, allocations: 1.153 MB / 0.9279 GB, free: 13 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.572, allocations: 1.301 MB / 0.9291 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003251/0.5723, allocations: 324 kB / 0.9294 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009487/0.5733, allocations: 0.7066 MB / 0.9301 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000506/0.5738, allocations: 0.6894 MB / 0.9308 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009267/0.5747, allocations: 1.275 MB / 0.932 GB, free: 8.695 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002909/0.5776, allocations: 3.574 MB / 0.9355 GB, free: 5.117 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.5777, allocations: 4 kB / 0.9355 GB, free: 5.113 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5777, allocations: 0 / 0.9355 GB, free: 5.113 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.532e-05/0.5777, allocations: 0 / 0.9355 GB, free: 5.113 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.00521/0.5829, allocations: 2.858 MB / 0.9383 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.583, allocations: 12.03 kB / 0.9383 GB, free: 2.164 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003328/0.5833, allocations: 312.9 kB / 0.9386 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01463/0.5979, allocations: 2.117 MB / 0.9407 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.5998, allocations: 1.299 MB / 0.942 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.6, allocations: 168.5 kB / 0.9421 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003604/0.6003, allocations: 220 kB / 0.9423 GB, free: 14 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007689/0.608, allocations: 3.279 MB / 0.9455 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/0.6081, allocations: 0 / 0.9455 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002712/0.6084, allocations: 95.98 kB / 0.9456 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/0.6084, allocations: 56 kB / 0.9457 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01173/0.6201, allocations: 4.201 MB / 0.9498 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0135/0.6337, allocations: 7.253 MB / 0.9569 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008439/0.6421, allocations: 2.89 MB / 0.9597 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004086/0.6462, allocations: 1.485 MB / 0.9611 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006685/0.6469, allocations: 0.5035 MB / 0.9616 GB, free: 9.953 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004659/0.6516, allocations: 1.852 MB / 0.9634 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=213): time 3.517e-06/0.6516, allocations: 0 / 0.9634 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=213): time 0.01385/0.6654, allocations: 4.471 MB / 0.9678 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.289e-05/0.6656, allocations: 205.9 kB / 0.968 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.6667, allocations: 0.949 MB / 0.9689 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001844/0.6669, allocations: 61.7 kB / 0.969 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000529/0.6674, allocations: 0.7601 MB / 0.9697 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005476/0.668, allocations: 0.7165 MB / 0.9704 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006647/0.6686, allocations: 379.4 kB / 0.9708 GB, free: 448 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.948e-05/0.6687, allocations: 309.1 kB / 0.9711 GB, free: 136 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003946/0.6727, allocations: 1.234 MB / 0.9723 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004096/0.6768, allocations: 1.429 MB / 0.9737 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007883/0.6847, allocations: 2.583 MB / 0.9762 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.6847, allocations: 4 kB / 0.9762 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.009307/0.694, allocations: 3.074 MB / 0.9792 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.694, allocations: 11.94 kB / 0.9792 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.694, allocations: 0 / 0.9792 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005471/0.6946, allocations: 92.83 kB / 0.9793 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00347/0.6981, allocations: 0.5851 MB / 0.9799 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.7, allocations: 1.634 MB / 0.9815 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002791/0.7028, allocations: 362.5 kB / 0.9818 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/0.703, allocations: 95.89 kB / 0.9819 GB, free: 4.816 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * 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.0008136/0.7039, allocations: 439.9 kB / 0.9823 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003575/0.7042, allocations: 162.9 kB / 0.9825 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/0.7148, allocations: 3.711 MB / 0.9861 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.7149, allocations: 27.98 kB / 0.9862 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7149, allocations: 3.938 kB / 0.9862 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/0.7149, allocations: 15.95 kB / 0.9862 GB, free: 460 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/0.7175, allocations: 2.468 MB / 0.9886 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.7176, allocations: 0 / 0.9886 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003379/0.7209, allocations: 0.5578 MB / 0.9891 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004366/0.7214, allocations: 80.72 kB / 0.9892 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001919/0.7216, allocations: 75.91 kB / 0.9893 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/0.7234, allocations: 1.651 MB / 0.9909 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.7234, allocations: 8 kB / 0.9909 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00938/0.7328, allocations: 3.223 MB / 0.994 GB, free: 8.164 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008922/0.7337, allocations: 0.5499 MB / 0.9946 GB, free: 7.594 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003199/0.734, allocations: 55.83 kB / 0.9946 GB, free: 7.539 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002607/0.7366, allocations: 267.7 kB / 0.9949 GB, free: 7.277 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002392/0.7369, allocations: 153.7 kB / 0.995 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001971/0.7371, allocations: 95.97 kB / 0.9951 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008591/0.7379, allocations: 0.7036 MB / 0.9958 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.738, allocations: 0 / 0.9958 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001405/0.7394, allocations: 0.6428 MB / 0.9964 GB, free: 5.68 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.01065/0.75, allocations: 4.332 MB / 1.001 GB, free: 1.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.008814/0.7588, allocations: 3.135 MB / 1.004 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7589, allocations: 0 / 1.004 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004529/0.7634, allocations: 1.755 MB / 1.005 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.7648, allocations: 375.5 kB / 1.006 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03506/0.7999, allocations: 16.08 MB / 1.022 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008599/0.8008, allocations: 1.438 MB / 1.023 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002361/0.8031, allocations: 0.5753 MB / 1.023 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/0.8047, allocations: 0.8818 MB / 1.024 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of SimCode: time 1.683e-06/0.8047, allocations: 0 / 1.024 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06637/0.871, allocations: 42.11 MB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.84, allocations: 8.812 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)