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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009852/0.0009852, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009412/0.0009412, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9184/0.9184, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002491/0.002491, allocations: 225.8 kB / 260.5 MB, free: 12.89 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7248/0.7248, allocations: 138.4 MB / 455.4 MB, free: 1.531 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.555 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.287e-05, allocations: 5.406 kB / 0.555 GB, free: 0.918 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006879/0.006902, allocations: 7.981 MB / 0.5628 GB, free: 8.895 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.2926/0.2995, allocations: 147.5 MB / 0.7069 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007325/0.3003, allocations: 31.81 kB / 0.7069 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005424/0.3008, allocations: 340.2 kB / 0.7072 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.3022, allocations: 0.8949 MB / 0.7081 GB, free: 132 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.3038, allocations: 1.402 MB / 0.7095 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001913/0.3057, allocations: 3.081 MB / 0.7125 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.3068, allocations: 0.9715 MB / 0.7134 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/0.308, allocations: 1.836 MB / 0.7152 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000796/0.3088, allocations: 1.048 MB / 0.7162 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002645/0.3091, allocations: 328 kB / 0.7165 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009272/0.31, allocations: 0.7102 MB / 0.7172 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003842/0.3104, allocations: 0.7126 MB / 0.7179 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005873/0.311, allocations: 0.9352 MB / 0.7188 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.3128, allocations: 2.542 MB / 0.7213 GB, free: 2.516 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3128, allocations: 4 kB / 0.7213 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3128, allocations: 0 / 0.7213 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.3128, allocations: 0 / 0.7213 GB, free: 2.512 MB / 0.5261 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.003255/0.3161, allocations: 2.927 MB / 0.7242 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.3161, allocations: 12.75 kB / 0.7242 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007648/0.3237, allocations: 2.155 MB / 0.7263 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.3253, allocations: 1.225 MB / 0.7275 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.3254, allocations: 169.1 kB / 0.7277 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002884/0.3257, allocations: 227.9 kB / 0.7279 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003868/0.3296, allocations: 2.76 MB / 0.7306 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/0.3296, allocations: 0 / 0.7306 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/0.3298, allocations: 99.98 kB / 0.7307 GB, free: 8.66 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-05/0.3299, allocations: 52 kB / 0.7307 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003169/0.333, allocations: 2.09 MB / 0.7328 GB, free: 6.496 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007354/0.3404, allocations: 5.697 MB / 0.7383 GB, free: 0.7383 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002828/0.3432, allocations: 1.629 MB / 0.7399 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.3443, allocations: 0.7228 MB / 0.7406 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003123/0.3446, allocations: 114.1 kB / 0.7407 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001503/0.3461, allocations: 1.274 MB / 0.742 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=213): time 3.166e-06/0.3461, allocations: 0 / 0.742 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=213): time 0.004398/0.3505, allocations: 2.462 MB / 0.7444 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/0.3506, allocations: 205.9 kB / 0.7446 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008854/0.3515, allocations: 0.7649 MB / 0.7453 GB, free: 9.457 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001466/0.3516, allocations: 65.7 kB / 0.7454 GB, free: 9.387 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003734/0.352, allocations: 0.8215 MB / 0.7462 GB, free: 8.555 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004074/0.3524, allocations: 0.7049 MB / 0.7469 GB, free: 7.844 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004911/0.3529, allocations: 396.9 kB / 0.7473 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.344e-05/0.353, allocations: 484.7 kB / 0.7477 GB, free: 6.973 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009585/0.3539, allocations: 0.5504 MB / 0.7483 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.3551, allocations: 0.8824 MB / 0.7491 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/0.3571, allocations: 1.271 MB / 0.7504 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.3571, allocations: 0 / 0.7504 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.00333/0.3604, allocations: 1.84 MB / 0.7522 GB, free: 2.328 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3604, allocations: 4 kB / 0.7522 GB, free: 2.324 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3604, allocations: 3.938 kB / 0.7522 GB, free: 2.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004833/0.3609, allocations: 132.4 kB / 0.7523 GB, free: 2.188 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.3625, allocations: 0.5187 MB / 0.7528 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.3638, allocations: 1.904 MB / 0.7547 GB, free: 15.64 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.3649, allocations: 250.9 kB / 0.7549 GB, free: 15.39 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.365, allocations: 103.9 kB / 0.755 GB, free: 15.29 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (239): * Single equations (assignments): 238 * 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.0005145/0.3655, allocations: 270.8 kB / 0.7553 GB, free: 15.02 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003747/0.3659, allocations: 223 kB / 0.7555 GB, free: 14.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003724/0.3696, allocations: 2.394 MB / 0.7578 GB, free: 12.39 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.3696, allocations: 20 kB / 0.7578 GB, free: 12.37 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3696, allocations: 4.875 kB / 0.7578 GB, free: 12.37 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.3696, allocations: 11.95 kB / 0.7578 GB, free: 12.36 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.3714, allocations: 1.548 MB / 0.7593 GB, free: 10.78 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.3714, allocations: 0 / 0.7593 GB, free: 10.78 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/0.3728, allocations: 479.3 kB / 0.7598 GB, free: 10.31 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003704/0.3732, allocations: 131.6 kB / 0.7599 GB, free: 10.18 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.3733, allocations: 72.73 kB / 0.76 GB, free: 10.11 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.3744, allocations: 1.938 MB / 0.7619 GB, free: 8.035 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3744, allocations: 0 / 0.7619 GB, free: 8.035 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003074/0.3775, allocations: 1.984 MB / 0.7638 GB, free: 6.02 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006165/0.3781, allocations: 476.1 kB / 0.7643 GB, free: 5.555 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/0.3783, allocations: 52.77 kB / 0.7643 GB, free: 5.504 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009715/0.3793, allocations: 163.9 kB / 0.7645 GB, free: 5.344 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/0.3795, allocations: 157.7 kB / 0.7646 GB, free: 5.191 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/0.3796, allocations: 91.91 kB / 0.7647 GB, free: 5.102 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00049/0.3801, allocations: 0.5319 MB / 0.7652 GB, free: 4.559 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.3801, allocations: 0 / 0.7652 GB, free: 4.559 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001256/0.3814, allocations: 0.7013 MB / 0.7659 GB, free: 3.855 MB / 0.573 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.001528/0.3829, allocations: 0.6898 MB / 0.7666 GB, free: 3.41 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00269/0.3856, allocations: 1.826 MB / 0.7684 GB, free: 1.566 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3856, allocations: 0 / 0.7684 GB, free: 1.566 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.387, allocations: 1.129 MB / 0.7695 GB, free: 428 kB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009783/0.388, allocations: 472.9 kB / 0.7699 GB, free: 15.99 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.3923, allocations: 3.408 MB / 0.7733 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.3927, allocations: 366.9 kB / 0.7736 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001512/0.3943, allocations: 0.5558 MB / 0.7742 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006947/0.3949, allocations: 240.2 kB / 0.7744 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of SimCode: time 1.433e-06/0.3949, allocations: 4 kB / 0.7744 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of Templates: time 0.03228/0.4272, allocations: 30.84 MB / 0.8045 GB, free: 12.82 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.673843689030036]