Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 112.8 kB / 16.38 MB, free: 6.434 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.001811/0.001812, allocations: 193.1 kB / 17.32 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002132/0.002132, allocations: 290.5 kB / 291.5 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9713/0.9713, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 99.83 kB / 0.682 GB, free: 7.031 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5794/0.5812, allocations: 86.97 MB / 0.767 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006735/0.588, allocations: 4.73 MB / 0.7716 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1817/0.7697, allocations: 150.7 MB / 0.9188 GB, free: 7.898 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.771, allocations: 23.88 kB / 0.9188 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006604/0.7716, allocations: 186.2 kB / 0.919 GB, free: 7.691 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.7737, allocations: 0.5393 MB / 0.9195 GB, free: 7.152 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002356/0.776, allocations: 0.8543 MB / 0.9203 GB, free: 6.305 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001812/0.7778, allocations: 1.456 MB / 0.9217 GB, free: 4.844 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.7791, allocations: 0.9313 MB / 0.9227 GB, free: 3.871 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008261/0.7799, allocations: 0.5721 MB / 0.9232 GB, free: 3.297 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006804/0.7806, allocations: 0.6299 MB / 0.9238 GB, free: 2.664 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001847/0.7808, allocations: 156 kB / 0.924 GB, free: 2.512 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.7819, allocations: 0.5114 MB / 0.9245 GB, free: 2 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003294/0.7822, allocations: 374.8 kB / 0.9248 GB, free: 1.633 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006343/0.7829, allocations: 0.6956 MB / 0.9255 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002256/0.7851, allocations: 1.965 MB / 0.9274 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.7851, allocations: 0 / 0.9274 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.746e-06/0.7852, allocations: 0 / 0.9274 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.7852, allocations: 0 / 0.9274 GB, free: 14.96 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002831/0.788, allocations: 1.686 MB / 0.9291 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.7881, allocations: 12.03 kB / 0.9291 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009779/0.7891, allocations: 223 kB / 0.9293 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.7904, allocations: 0.86 MB / 0.9301 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.756e-05/0.7905, allocations: 86.41 kB / 0.9302 GB, free: 12 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.7907, allocations: 116 kB / 0.9303 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.7926, allocations: 1.198 MB / 0.9315 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.7927, allocations: 3.938 kB / 0.9315 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.7928, allocations: 56 kB / 0.9316 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-05/0.7928, allocations: 32 kB / 0.9316 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002263/0.7951, allocations: 1.281 MB / 0.9328 GB, free: 9.246 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005028/0.8001, allocations: 3.117 MB / 0.9359 GB, free: 6.055 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.8018, allocations: 0.8671 MB / 0.9367 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005703/0.8023, allocations: 326.7 kB / 0.937 GB, free: 4.859 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-05/0.8024, allocations: 32.62 kB / 0.9371 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009049/0.8034, allocations: 0.5159 MB / 0.9376 GB, free: 4.301 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=87): time 2.886e-06/0.8034, allocations: 0 / 0.9376 GB, free: 4.301 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87): time 0.003337/0.8067, allocations: 1.278 MB / 0.9388 GB, free: 2.996 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.8068, allocations: 192.9 kB / 0.939 GB, free: 2.762 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009975/0.8079, allocations: 0.7391 MB / 0.9397 GB, free: 2.012 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.161e-05/0.8079, allocations: 45.7 kB / 0.9398 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004285/0.8084, allocations: 0.5115 MB / 0.9403 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/0.8086, allocations: 279.9 kB / 0.9405 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000252/0.8089, allocations: 178.4 kB / 0.9407 GB, free: 0.9844 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.809, allocations: 337.9 kB / 0.941 GB, free: 0.6484 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005567/0.8096, allocations: 289.8 kB / 0.9413 GB, free: 376 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006835/0.8103, allocations: 387.1 kB / 0.9417 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.8116, allocations: 0.6555 MB / 0.9423 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.8116, allocations: 4 kB / 0.9423 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002143/0.8138, allocations: 0.9189 MB / 0.9432 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.8138, allocations: 8 kB / 0.9432 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.8138, allocations: 3.938 kB / 0.9432 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006159/0.8145, allocations: 80.86 kB / 0.9433 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/0.8152, allocations: 175.7 kB / 0.9435 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002572/0.8178, allocations: 1.627 MB / 0.9451 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008932/0.8187, allocations: 99.23 kB / 0.9452 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-05/0.8188, allocations: 39.97 kB / 0.9452 GB, free: 12.2 MB / 0.7169 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 (104): * Single equations (assignments): 103 * 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.0007459/0.8196, allocations: 310.5 kB / 0.9455 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/0.8199, allocations: 90.88 kB / 0.9456 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002736/0.8226, allocations: 1.118 MB / 0.9467 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.8226, allocations: 11.94 kB / 0.9467 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.8227, allocations: 112 / 0.9467 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.8227, allocations: 11.97 kB / 0.9467 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.8245, allocations: 1.052 MB / 0.9477 GB, free: 9.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.8245, allocations: 0 / 0.9477 GB, free: 9.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006372/0.8251, allocations: 155.8 kB / 0.9479 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004683/0.8256, allocations: 72.8 kB / 0.9479 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.459e-05/0.8257, allocations: 27.97 kB / 0.948 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/0.8278, allocations: 1.654 MB / 0.9496 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.8279, allocations: 7.922 kB / 0.9496 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.8301, allocations: 0.9824 MB / 0.9506 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004812/0.8306, allocations: 287.6 kB / 0.9508 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/0.8307, allocations: 24 kB / 0.9509 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000706/0.8315, allocations: 66.58 kB / 0.9509 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.8316, allocations: 76.83 kB / 0.951 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.239e-05/0.8317, allocations: 35.98 kB / 0.951 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009749/0.8327, allocations: 0.5146 MB / 0.9515 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8327, allocations: 0 / 0.9515 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001151/0.8339, allocations: 362.8 kB / 0.9519 GB, free: 5.113 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 (98): * Single equations (assignments): 92 * 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.001651/0.8355, allocations: 0.61 MB / 0.9525 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00211/0.8377, allocations: 0.8821 MB / 0.9533 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.8377, allocations: 0 / 0.9533 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.8388, allocations: 0.5508 MB / 0.9539 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.8402, allocations: 310.1 kB / 0.9542 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005135/0.8454, allocations: 2.107 MB / 0.9562 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4258/1.271, allocations: 1.102 MB / 0.9573 GB, free: 187 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006295/1.272, allocations: 125.7 kB / 0.9574 GB, free: 187 MB / 0.7169 GB Notification: Performance of SimCode: time 9.72e-07/1.272, allocations: 0 / 0.9574 GB, free: 187 MB / 0.7169 GB Notification: Performance of Templates: time 0.03368/1.306, allocations: 21.42 MB / 0.9783 GB, free: 174.7 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)