Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00554/0.00554, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001148/0.001148, allocations: 198.3 kB / 16.68 MB, free: 5.957 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002128/0.002128, allocations: 280.8 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9782/0.9782, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 103.8 kB / 0.6814 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4336, allocations: 86.98 MB / 0.7664 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006116/0.4398, allocations: 4.341 MB / 0.7706 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1576/0.5974, allocations: 150.5 MB / 0.9176 GB, free: 8.57 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007584/0.5982, allocations: 15.94 kB / 0.9176 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006083/0.5989, allocations: 178.4 kB / 0.9178 GB, free: 8.379 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.6007, allocations: 0.5064 MB / 0.9183 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.6027, allocations: 0.8173 MB / 0.9191 GB, free: 7.062 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001636/0.6043, allocations: 1.293 MB / 0.9204 GB, free: 5.762 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008864/0.6052, allocations: 0.6217 MB / 0.921 GB, free: 5.117 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006576/0.6059, allocations: 474.3 kB / 0.9214 GB, free: 4.652 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005509/0.6065, allocations: 497.8 kB / 0.9219 GB, free: 4.164 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.6066, allocations: 116 kB / 0.922 GB, free: 4.051 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00088/0.6075, allocations: 483.6 kB / 0.9225 GB, free: 3.578 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002481/0.6078, allocations: 295.1 kB / 0.9228 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004549/0.6082, allocations: 0.5363 MB / 0.9233 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.61, allocations: 1.595 MB / 0.9248 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.61, allocations: 0 / 0.9248 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.753e-06/0.61, allocations: 4 kB / 0.9248 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.61, allocations: 4 kB / 0.9248 GB, free: 1.145 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002427/0.6124, allocations: 1.407 MB / 0.9262 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.6125, allocations: 8.031 kB / 0.9262 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009255/0.6134, allocations: 191.4 kB / 0.9264 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.6146, allocations: 0.7423 MB / 0.9271 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.253e-05/0.6147, allocations: 69.98 kB / 0.9272 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.741e-05/0.6148, allocations: 79.94 kB / 0.9273 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.6163, allocations: 0.9106 MB / 0.9282 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.6164, allocations: 0 / 0.9282 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.957e-05/0.6165, allocations: 39.98 kB / 0.9282 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.6165, allocations: 20 kB / 0.9282 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.6182, allocations: 1.1 MB / 0.9293 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003867/0.6221, allocations: 2.475 MB / 0.9317 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.6236, allocations: 0.7901 MB / 0.9325 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005137/0.6241, allocations: 306.6 kB / 0.9328 GB, free: 8.812 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.237e-05/0.6242, allocations: 28.69 kB / 0.9328 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008219/0.625, allocations: 499 kB / 0.9333 GB, free: 8.277 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=80): time 2.325e-06/0.625, allocations: 0 / 0.9333 GB, free: 8.277 MB / 0.7012 GB Notification: Performance of matching and sorting (n=80): time 0.003137/0.6282, allocations: 1.178 MB / 0.9344 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.155e-05/0.6283, allocations: 192.6 kB / 0.9346 GB, free: 6.84 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007633/0.629, allocations: 0.6331 MB / 0.9352 GB, free: 6.203 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.335e-05/0.6291, allocations: 41.7 kB / 0.9353 GB, free: 6.156 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.6294, allocations: 396.3 kB / 0.9357 GB, free: 5.762 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.6296, allocations: 256.3 kB / 0.9359 GB, free: 5.508 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.6298, allocations: 170.5 kB / 0.9361 GB, free: 5.332 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.63, allocations: 386.7 kB / 0.9364 GB, free: 4.945 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004961/0.6305, allocations: 273.8 kB / 0.9367 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005962/0.6311, allocations: 359.1 kB / 0.937 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.6322, allocations: 0.6033 MB / 0.9376 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.6322, allocations: 0 / 0.9376 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001984/0.6342, allocations: 0.8487 MB / 0.9385 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.6342, allocations: 4 kB / 0.9385 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.6343, allocations: 4 kB / 0.9385 GB, free: 2.836 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00062/0.6349, allocations: 84.83 kB / 0.9385 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006291/0.6355, allocations: 163.7 kB / 0.9387 GB, free: 2.59 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.6376, allocations: 1.623 MB / 0.9403 GB, free: 0.8203 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007702/0.6384, allocations: 93.77 kB / 0.9404 GB, free: 0.7305 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.166e-05/0.6385, allocations: 39.91 kB / 0.9404 GB, free: 0.6914 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (95): * Single equations (assignments): 94 * 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.0004255/0.6389, allocations: 273.8 kB / 0.9407 GB, free: 428 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.6391, allocations: 79.05 kB / 0.9407 GB, free: 348 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.6414, allocations: 1.058 MB / 0.9418 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.6414, allocations: 8 kB / 0.9418 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6414, allocations: 4.031 kB / 0.9418 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.6414, allocations: 15.95 kB / 0.9418 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.6424, allocations: 0.8917 MB / 0.9427 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.6424, allocations: 3.984 kB / 0.9427 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/0.643, allocations: 143.8 kB / 0.9428 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004551/0.6435, allocations: 68.78 kB / 0.9429 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.858e-05/0.6435, allocations: 27.97 kB / 0.9429 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/0.6454, allocations: 1.654 MB / 0.9445 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6454, allocations: 0 / 0.9445 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.6474, allocations: 0.9201 MB / 0.9454 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004195/0.6479, allocations: 275.7 kB / 0.9457 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.648, allocations: 20.06 kB / 0.9457 GB, free: 11 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005866/0.6486, allocations: 59.94 kB / 0.9458 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.6487, allocations: 76.83 kB / 0.9458 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.56e-05/0.6488, allocations: 35.92 kB / 0.9459 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000549/0.6494, allocations: 455 kB / 0.9463 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6494, allocations: 4 kB / 0.9463 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007783/0.6502, allocations: 315.1 kB / 0.9466 GB, free: 10.08 MB / 0.7169 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.001311/0.6515, allocations: 0.5989 MB / 0.9472 GB, free: 9.656 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001745/0.6532, allocations: 0.8274 MB / 0.948 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6533, allocations: 0 / 0.948 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009278/0.6542, allocations: 0.512 MB / 0.9485 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.6553, allocations: 289.5 kB / 0.9488 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003709/0.6591, allocations: 1.732 MB / 0.9505 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.6596, allocations: 1.023 MB / 0.9515 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007593/0.6604, allocations: 258.5 kB / 0.9517 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/0.6607, allocations: 111.4 kB / 0.9518 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of SimCode: time 4.8e-07/0.6607, allocations: 0 / 0.9518 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of Templates: time 0.3427/1.003, allocations: 15.05 MB / 0.9665 GB, free: 184.8 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)