Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.006473/0.006474, allocations: 100.4 kB / 15.73 MB, free: 6.008 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.001778/0.001778, allocations: 191.8 kB / 16.67 MB, free: 5.926 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.466/2.466, allocations: 482.6 MB / 0.755 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 68.31 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2593, allocations: 162.3 MB / 1.242 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005987/0.2653, allocations: 4.847 MB / 1.247 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1497/0.415, allocations: 150.6 MB / 1.394 GB, free: 12.82 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006385/0.4157, allocations: 15.88 kB / 1.394 GB, free: 12.81 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0004825/0.4162, allocations: 198.2 kB / 1.394 GB, free: 12.61 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001326/0.4175, allocations: 0.5275 MB / 1.394 GB, free: 12.09 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.4192, allocations: 0.8396 MB / 1.395 GB, free: 11.25 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001215/0.4204, allocations: 1.382 MB / 1.397 GB, free: 9.863 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000723/0.4211, allocations: 0.5714 MB / 1.397 GB, free: 9.266 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004921/0.4216, allocations: 482.3 kB / 1.398 GB, free: 8.793 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005241/0.4221, allocations: 0.4978 MB / 1.398 GB, free: 8.293 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.4223, allocations: 116 kB / 1.398 GB, free: 8.18 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000667/0.423, allocations: 483.5 kB / 1.399 GB, free: 7.707 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002581/0.4232, allocations: 295.1 kB / 1.399 GB, free: 7.418 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.000463/0.4237, allocations: 0.5519 MB / 1.399 GB, free: 6.863 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.4253, allocations: 1.638 MB / 1.401 GB, free: 5.219 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.4253, allocations: 0 / 1.401 GB, free: 5.219 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4253, allocations: 0 / 1.401 GB, free: 5.219 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.497e-06/0.4253, allocations: 0 / 1.401 GB, free: 5.219 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002173/0.4275, allocations: 1.465 MB / 1.402 GB, free: 3.707 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.4275, allocations: 12.03 kB / 1.402 GB, free: 3.695 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001466/0.4277, allocations: 135.3 kB / 1.403 GB, free: 3.555 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008067/0.4285, allocations: 200 kB / 1.403 GB, free: 3.359 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.4295, allocations: 0.7505 MB / 1.404 GB, free: 2.562 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.346e-05/0.4296, allocations: 66 kB / 1.404 GB, free: 2.5 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.4297, allocations: 79.98 kB / 1.404 GB, free: 2.422 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.4311, allocations: 0.9144 MB / 1.405 GB, free: 1.465 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.4311, allocations: 4 kB / 1.405 GB, free: 1.461 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-05/0.4312, allocations: 36 kB / 1.405 GB, free: 1.426 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.4312, allocations: 20 kB / 1.405 GB, free: 1.406 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.4329, allocations: 1.1 MB / 1.406 GB, free: 312 kB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003547/0.4364, allocations: 2.744 MB / 1.408 GB, free: 13.43 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.4378, allocations: 0.794 MB / 1.409 GB, free: 12.63 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005024/0.4384, allocations: 302.7 kB / 1.409 GB, free: 12.34 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 6.707e-05/0.4384, allocations: 36.67 kB / 1.409 GB, free: 12.3 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007764/0.4392, allocations: 487.1 kB / 1.41 GB, free: 11.8 MB / 1.139 GB Notification: Performance of pre-optimization done (n=80): time 1.753e-06/0.4392, allocations: 0 / 1.41 GB, free: 11.8 MB / 1.139 GB Notification: Performance of matching and sorting (n=80): time 0.002937/0.4422, allocations: 1.206 MB / 1.411 GB, free: 10.57 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.4423, allocations: 188.6 kB / 1.411 GB, free: 10.34 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007028/0.443, allocations: 0.6254 MB / 1.412 GB, free: 9.715 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.57e-05/0.4431, allocations: 41.7 kB / 1.412 GB, free: 9.668 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.4434, allocations: 401 kB / 1.412 GB, free: 9.27 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.4436, allocations: 277.6 kB / 1.413 GB, free: 8.996 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.4438, allocations: 150.6 kB / 1.413 GB, free: 8.84 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.444, allocations: 386.7 kB / 1.413 GB, free: 8.453 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004749/0.4444, allocations: 249.9 kB / 1.413 GB, free: 8.211 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005854/0.445, allocations: 358.5 kB / 1.414 GB, free: 7.836 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.4461, allocations: 0.5877 MB / 1.414 GB, free: 7.234 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4461, allocations: 7.938 kB / 1.414 GB, free: 7.227 MB / 1.139 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001734/0.4478, allocations: 0.8024 MB / 1.415 GB, free: 6.418 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4479, allocations: 6.188 kB / 1.415 GB, free: 6.414 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.4479, allocations: 7.984 kB / 1.415 GB, free: 6.406 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005374/0.4484, allocations: 80.78 kB / 1.415 GB, free: 6.324 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005641/0.449, allocations: 151.8 kB / 1.415 GB, free: 6.176 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.4509, allocations: 1.63 MB / 1.417 GB, free: 4.398 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005485/0.4515, allocations: 95.56 kB / 1.417 GB, free: 4.305 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/0.4516, allocations: 27.98 kB / 1.417 GB, free: 4.277 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (87): * Single equations (assignments): 86 * 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.0003239/0.4519, allocations: 266.1 kB / 1.417 GB, free: 4.008 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.452, allocations: 87.5 kB / 1.417 GB, free: 3.922 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/0.4542, allocations: 1.058 MB / 1.418 GB, free: 2.84 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.4543, allocations: 8 kB / 1.418 GB, free: 2.832 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.4543, allocations: 3.938 kB / 1.418 GB, free: 2.828 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.4543, allocations: 7.984 kB / 1.418 GB, free: 2.82 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009357/0.4552, allocations: 0.9075 MB / 1.419 GB, free: 1.863 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4552, allocations: 3.984 kB / 1.419 GB, free: 1.859 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005252/0.4558, allocations: 139.8 kB / 1.419 GB, free: 1.723 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004091/0.4562, allocations: 76.78 kB / 1.419 GB, free: 1.645 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.947e-05/0.4562, allocations: 23.98 kB / 1.419 GB, free: 1.621 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.4581, allocations: 1.662 MB / 1.421 GB, free: 15.82 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4581, allocations: 0 / 1.421 GB, free: 15.82 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.4599, allocations: 0.9245 MB / 1.422 GB, free: 14.87 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/0.4602, allocations: 272.2 kB / 1.422 GB, free: 14.59 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.4603, allocations: 23.98 kB / 1.422 GB, free: 14.56 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005567/0.4609, allocations: 55.94 kB / 1.422 GB, free: 14.51 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.461, allocations: 84.72 kB / 1.422 GB, free: 14.43 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.324e-05/0.4611, allocations: 35.97 kB / 1.422 GB, free: 14.39 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005143/0.4616, allocations: 463 kB / 1.423 GB, free: 13.95 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4616, allocations: 0 / 1.423 GB, free: 13.95 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000613/0.4622, allocations: 319.2 kB / 1.423 GB, free: 13.63 MB / 1.154 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.003676/0.4659, allocations: 1.981 MB / 1.425 GB, free: 11.8 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001451/0.4674, allocations: 0.7961 MB / 1.426 GB, free: 11 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4674, allocations: 0 / 1.426 GB, free: 11 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0008713/0.4683, allocations: 0.5238 MB / 1.426 GB, free: 10.46 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.4693, allocations: 313.8 kB / 1.427 GB, free: 10.18 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008936/0.4783, allocations: 6.132 MB / 1.433 GB, free: 3.926 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/0.4789, allocations: 1.019 MB / 1.434 GB, free: 2.879 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0006453/0.4795, allocations: 258.7 kB / 1.434 GB, free: 2.621 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004991/0.48, allocations: 387.2 kB / 1.434 GB, free: 2.242 MB / 1.154 GB Notification: Performance of SimCode: time 2.6e-07/0.48, allocations: 0 / 1.434 GB, free: 2.242 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.239/3.719, allocations: 21.49 MB / 1.455 GB, free: 13.11 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.23/29.95, allocations: 6.766 kB / 1.455 GB, free: 13.11 MB / 1.186 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)