Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.SkyClearness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.006771/0.006771, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.001632/0.001632, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.184/2.184, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 66.36 kB / 0.9504 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2111, allocations: 140.4 MB / 1.087 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005594/0.2168, allocations: 4.421 MB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1445/0.3613, allocations: 150.6 MB / 1.239 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006144/0.3619, allocations: 23.88 kB / 1.239 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004927/0.3624, allocations: 170.4 kB / 1.239 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001327/0.3638, allocations: 0.5009 MB / 1.24 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.3655, allocations: 0.8605 MB / 1.24 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001028/0.3665, allocations: 1.332 MB / 1.242 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007923/0.3673, allocations: 0.6908 MB / 1.242 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004746/0.3678, allocations: 0.506 MB / 1.243 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004682/0.3683, allocations: 0.5172 MB / 1.243 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.3684, allocations: 128 kB / 1.243 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007001/0.3691, allocations: 0.5151 MB / 1.244 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.3694, allocations: 318.9 kB / 1.244 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004161/0.3698, allocations: 0.5751 MB / 1.245 GB, free: 304 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.3713, allocations: 1.722 MB / 1.247 GB, free: 14.57 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3713, allocations: 0 / 1.247 GB, free: 14.57 MB / 1.014 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3713, allocations: 0 / 1.247 GB, free: 14.57 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.3713, allocations: 0 / 1.247 GB, free: 14.57 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002213/0.3735, allocations: 1.492 MB / 1.248 GB, free: 13.03 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.3736, allocations: 8.031 kB / 1.248 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001502/0.3737, allocations: 152.2 kB / 1.248 GB, free: 12.86 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.3748, allocations: 219.2 kB / 1.248 GB, free: 12.65 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.3758, allocations: 0.7849 MB / 1.249 GB, free: 11.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.667e-05/0.3759, allocations: 66 kB / 1.249 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.376, allocations: 96 kB / 1.249 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.3776, allocations: 1.02 MB / 1.25 GB, free: 10.6 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.3776, allocations: 0 / 1.25 GB, free: 10.6 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.609e-05/0.3777, allocations: 40 kB / 1.25 GB, free: 10.56 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.3777, allocations: 24 kB / 1.25 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.3795, allocations: 1.171 MB / 1.251 GB, free: 9.363 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003677/0.3832, allocations: 2.671 MB / 1.254 GB, free: 6.625 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.3849, allocations: 0.9063 MB / 1.255 GB, free: 5.703 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005616/0.3854, allocations: 310.7 kB / 1.255 GB, free: 5.395 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006028/0.386, allocations: 474.1 kB / 1.256 GB, free: 4.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008438/0.3869, allocations: 0.4914 MB / 1.256 GB, free: 4.328 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.154e-06/0.3869, allocations: 0 / 1.256 GB, free: 4.328 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003208/0.3901, allocations: 1.233 MB / 1.257 GB, free: 3.07 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001692/0.3903, allocations: 196.6 kB / 1.258 GB, free: 2.836 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007412/0.3911, allocations: 0.6449 MB / 1.258 GB, free: 2.184 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.253e-05/0.3911, allocations: 41.7 kB / 1.258 GB, free: 2.137 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/0.3914, allocations: 424.2 kB / 1.259 GB, free: 1.715 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.3916, allocations: 260.2 kB / 1.259 GB, free: 1.457 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.3919, allocations: 154.5 kB / 1.259 GB, free: 1.297 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.392, allocations: 390.8 kB / 1.259 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005348/0.3926, allocations: 261.8 kB / 1.26 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006141/0.3932, allocations: 370.5 kB / 1.26 GB, free: 268 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4314/0.8246, allocations: 0.5948 MB / 1.261 GB, free: 173.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.8247, allocations: 0.7812 kB / 1.261 GB, free: 173.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00217/0.8268, allocations: 0.8254 MB / 1.261 GB, free: 173.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.8269, allocations: 5.25 kB / 1.261 GB, free: 173.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.8269, allocations: 1.516 kB / 1.261 GB, free: 173.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/0.8275, allocations: 84.55 kB / 1.262 GB, free: 173.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006689/0.8282, allocations: 158.3 kB / 1.262 GB, free: 173.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.83, allocations: 1.624 MB / 1.263 GB, free: 172.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007429/0.8307, allocations: 96.22 kB / 1.263 GB, free: 172.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.585e-05/0.8308, allocations: 28.5 kB / 1.263 GB, free: 172.4 MB / 1.014 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 (88): * Single equations (assignments): 87 * 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.0003971/0.8312, allocations: 286.8 kB / 1.264 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.8314, allocations: 82.86 kB / 1.264 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/0.8338, allocations: 1.089 MB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.8338, allocations: 9.781 kB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.8339, allocations: 3.938 kB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.8339, allocations: 5.703 kB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003358/0.8372, allocations: 2.019 MB / 1.267 GB, free: 170.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.8372, allocations: 0.875 kB / 1.267 GB, free: 170.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006286/0.8379, allocations: 150.9 kB / 1.267 GB, free: 170.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004509/0.8383, allocations: 76 kB / 1.267 GB, free: 170.9 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.614e-05/0.8384, allocations: 25.62 kB / 1.267 GB, free: 170.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/0.8399, allocations: 1.658 MB / 1.269 GB, free: 169.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.84, allocations: 0.8438 kB / 1.269 GB, free: 169.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/0.842, allocations: 1.02 MB / 1.27 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/0.8424, allocations: 275.7 kB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.8425, allocations: 28.58 kB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006768/0.8432, allocations: 61.64 kB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.8434, allocations: 72.59 kB / 1.27 GB, free: 168.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.628e-05/0.8435, allocations: 38.05 kB / 1.27 GB, free: 168.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000573/0.8441, allocations: 472 kB / 1.271 GB, free: 168.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8441, allocations: 0 / 1.271 GB, free: 168.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000932/0.845, allocations: 335.1 kB / 1.271 GB, free: 168.3 MB / 1.014 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * 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.003497/0.8485, allocations: 2.09 MB / 1.273 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001883/0.8504, allocations: 0.8126 MB / 1.274 GB, free: 166.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.8504, allocations: 4.688 kB / 1.274 GB, free: 166.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.8515, allocations: 0.5282 MB / 1.274 GB, free: 166.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.8527, allocations: 296.7 kB / 1.274 GB, free: 166.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.8632, allocations: 6.509 MB / 1.281 GB, free: 163.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.8638, allocations: 1.044 MB / 1.282 GB, free: 162.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008393/0.8646, allocations: 271.5 kB / 1.282 GB, free: 162.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00048/0.8651, allocations: 412.6 kB / 1.283 GB, free: 162.2 MB / 1.014 GB Notification: Performance of SimCode: time 9.42e-07/0.8651, allocations: 0 / 1.283 GB, free: 162.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2187/1.084, allocations: 21.92 MB / 1.304 GB, free: 154.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/14.53, allocations: 0 / 1.304 GB, free: 154.9 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)