Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7561/0.7561, allocations: 143.4 MB / 159.2 MB, free: 4.891 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 192.5 kB / 191.9 MB, free: 5.727 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 447.3 MB, free: 5.875 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 111.7 kB / 0.517 GB, free: 3.715 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002108/0.002108, allocations: 274.2 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 80.3 kB / 0.6885 GB, free: 3.844 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3763, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004935/0.3813, allocations: 4.191 MB / 0.772 GB, free: 23.46 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.5256/0.907, allocations: 148.2 MB / 0.9167 GB, free: 15.96 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008184/0.9078, allocations: 20.78 kB / 0.9168 GB, free: 15.96 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005276/0.9084, allocations: 139.8 kB / 0.9169 GB, free: 15.96 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.9099, allocations: 406.6 kB / 0.9173 GB, free: 15.95 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.9119, allocations: 0.698 MB / 0.918 GB, free: 15.95 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.00157/0.9135, allocations: 1.137 MB / 0.9191 GB, free: 15.93 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008466/0.9143, allocations: 0.6691 MB / 0.9197 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006092/0.9149, allocations: 405.4 kB / 0.9201 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004466/0.9154, allocations: 458.8 kB / 0.9206 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.9155, allocations: 60.44 kB / 0.9206 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008828/0.9164, allocations: 425.2 kB / 0.921 GB, free: 15.79 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002188/0.9166, allocations: 235.6 kB / 0.9212 GB, free: 15.79 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005304/0.9172, allocations: 488.6 kB / 0.9217 GB, free: 15.79 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.9188, allocations: 1.498 MB / 0.9232 GB, free: 15.7 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9188, allocations: 1.656 kB / 0.9232 GB, free: 15.7 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.012e-06/0.9188, allocations: 0 / 0.9232 GB, free: 15.7 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.9188, allocations: 0 / 0.9232 GB, free: 15.7 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002149/0.921, allocations: 1.389 MB / 0.9245 GB, free: 14.95 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.921, allocations: 12.62 kB / 0.9245 GB, free: 14.94 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.9221, allocations: 204.4 kB / 0.9247 GB, free: 14.88 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009743/0.9231, allocations: 0.7317 MB / 0.9254 GB, free: 14.57 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.9231, allocations: 66.06 kB / 0.9255 GB, free: 14.57 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.752e-05/0.9232, allocations: 85.72 kB / 0.9256 GB, free: 14.57 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.9248, allocations: 0.9516 MB / 0.9265 GB, free: 14.42 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.9248, allocations: 1.5 kB / 0.9265 GB, free: 14.42 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-05/0.9249, allocations: 39.28 kB / 0.9266 GB, free: 14.42 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.9249, allocations: 22.16 kB / 0.9266 GB, free: 14.42 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.9267, allocations: 1.13 MB / 0.9277 GB, free: 14.41 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003635/0.9303, allocations: 2.549 MB / 0.9302 GB, free: 13.62 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.9317, allocations: 0.8223 MB / 0.931 GB, free: 13.49 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004979/0.9322, allocations: 288.1 kB / 0.9313 GB, free: 13.48 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006268/0.9328, allocations: 471.8 kB / 0.9317 GB, free: 13 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007859/0.9336, allocations: 445 kB / 0.9321 GB, free: 12.92 MB / 0.573 GB Notification: Performance of pre-optimization done (n=73): time 1.924e-06/0.9336, allocations: 1.203 kB / 0.9321 GB, free: 12.92 MB / 0.573 GB Notification: Performance of matching and sorting (n=73): time 0.003021/0.9367, allocations: 1.092 MB / 0.9332 GB, free: 12.72 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.9368, allocations: 191.9 kB / 0.9334 GB, free: 12.5 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000929/0.9377, allocations: 0.5978 MB / 0.934 GB, free: 12.38 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.446e-05/0.9378, allocations: 43.17 kB / 0.934 GB, free: 12.35 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.9381, allocations: 405.3 kB / 0.9344 GB, free: 12.15 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.9383, allocations: 243.3 kB / 0.9346 GB, free: 12 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/0.9385, allocations: 153.5 kB / 0.9348 GB, free: 11.98 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.9387, allocations: 382.9 kB / 0.9351 GB, free: 11.66 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/0.9392, allocations: 244.8 kB / 0.9354 GB, free: 11.66 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000559/0.9397, allocations: 339.6 kB / 0.9357 GB, free: 11.61 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000982/0.9407, allocations: 0.5642 MB / 0.9362 GB, free: 11.56 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.9408, allocations: 4 kB / 0.9362 GB, free: 11.55 MB / 0.573 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001702/0.9425, allocations: 0.7945 MB / 0.937 GB, free: 11.45 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.9425, allocations: 7.531 kB / 0.937 GB, free: 11.45 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.9425, allocations: 0 / 0.937 GB, free: 11.45 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005802/0.9431, allocations: 82.8 kB / 0.9371 GB, free: 11.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005813/0.9437, allocations: 152 kB / 0.9373 GB, free: 11.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.9456, allocations: 1.517 MB / 0.9387 GB, free: 10.13 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006424/0.9463, allocations: 84.31 kB / 0.9388 GB, free: 10.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.163e-05/0.9463, allocations: 32.17 kB / 0.9388 GB, free: 10.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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.0004299/0.9468, allocations: 265.3 kB / 0.9391 GB, free: 9.98 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.9469, allocations: 82.58 kB / 0.9392 GB, free: 9.938 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.949, allocations: 0.9914 MB / 0.9401 GB, free: 9.816 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.9491, allocations: 7.344 kB / 0.9402 GB, free: 9.816 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.9491, allocations: 0 / 0.9402 GB, free: 9.816 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.9491, allocations: 4.641 kB / 0.9402 GB, free: 9.816 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/0.9521, allocations: 1.906 MB / 0.942 GB, free: 9.445 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.9521, allocations: 0 / 0.942 GB, free: 9.445 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005296/0.9526, allocations: 140.4 kB / 0.9422 GB, free: 9.445 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005049/0.9531, allocations: 92.41 kB / 0.9422 GB, free: 9.43 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.902e-05/0.9532, allocations: 23.42 kB / 0.9423 GB, free: 9.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.9549, allocations: 1.545 MB / 0.9438 GB, free: 8.129 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.955, allocations: 2.625 kB / 0.9438 GB, free: 8.129 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.9576, allocations: 1.931 MB / 0.9457 GB, free: 7.312 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/0.958, allocations: 265.9 kB / 0.9459 GB, free: 7.16 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.79e-05/0.9581, allocations: 15.61 kB / 0.9459 GB, free: 7.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005469/0.9586, allocations: 55.72 kB / 0.946 GB, free: 7.16 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.9588, allocations: 57.33 kB / 0.946 GB, free: 7.16 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.96e-05/0.9588, allocations: 29.25 kB / 0.9461 GB, free: 7.16 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004907/0.9593, allocations: 438.5 kB / 0.9465 GB, free: 7.066 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9594, allocations: 4 kB / 0.9465 GB, free: 7.062 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009813/0.9603, allocations: 322.4 kB / 0.9468 GB, free: 7.004 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001287/0.9616, allocations: 0.6126 MB / 0.9474 GB, free: 6.785 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.9632, allocations: 0.7653 MB / 0.9481 GB, free: 6.648 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.9632, allocations: 4.594 kB / 0.9481 GB, free: 6.648 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008044/0.964, allocations: 496.8 kB / 0.9486 GB, free: 6.527 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.9652, allocations: 274.8 kB / 0.9489 GB, free: 6.508 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004326/0.9695, allocations: 2.58 MB / 0.9514 GB, free: 5.242 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006503/0.9702, allocations: 1.035 MB / 0.9524 GB, free: 4.523 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008918/0.9711, allocations: 260.8 kB / 0.9527 GB, free: 4.449 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.9713, allocations: 99.62 kB / 0.9528 GB, free: 4.438 MB / 0.573 GB Notification: Performance of SimCode: time 6.41e-07/0.9713, allocations: 0 / 0.9528 GB, free: 4.438 MB / 0.573 GB Notification: Performance of Templates: time 0.0229/0.9942, allocations: 14.03 MB / 0.9665 GB, free: 13.95 MB / 0.5886 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)