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/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: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="BuildingSystems_BuildingSystems_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.005589/0.005589, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001213/0.001213, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00211/0.00211, allocations: 282.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9377/0.9377, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 95.78 kB / 0.681 GB, free: 36 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1535, allocations: 86.97 MB / 0.7659 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005539/0.1591, allocations: 4.417 MB / 0.7702 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4996/0.6587, allocations: 150.6 MB / 0.9173 GB, free: 7.879 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008019/0.6596, allocations: 15.94 kB / 0.9173 GB, free: 7.863 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005669/0.6602, allocations: 177.3 kB / 0.9175 GB, free: 7.691 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.6618, allocations: 0.5053 MB / 0.918 GB, free: 7.199 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.6636, allocations: 0.8578 MB / 0.9188 GB, free: 6.375 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001234/0.6649, allocations: 1.328 MB / 0.9201 GB, free: 5.039 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008647/0.6658, allocations: 0.6985 MB / 0.9208 GB, free: 4.32 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005877/0.6664, allocations: 0.4983 MB / 0.9213 GB, free: 3.82 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005207/0.6669, allocations: 0.5289 MB / 0.9218 GB, free: 3.289 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.667, allocations: 134.8 kB / 0.9219 GB, free: 3.16 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008532/0.6679, allocations: 0.5014 MB / 0.9224 GB, free: 2.66 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002547/0.6682, allocations: 315 kB / 0.9227 GB, free: 2.352 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004577/0.6686, allocations: 0.5829 MB / 0.9233 GB, free: 1.766 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.6703, allocations: 1.722 MB / 0.925 GB, free: 44 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6703, allocations: 0 / 0.925 GB, free: 44 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6703, allocations: 0 / 0.925 GB, free: 44 kB / 0.67 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.6703, allocations: 0 / 0.925 GB, free: 44 kB / 0.67 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.002362/0.6727, allocations: 1.492 MB / 0.9264 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.6727, allocations: 12.03 kB / 0.9265 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001595/0.6729, allocations: 148.2 kB / 0.9266 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.6739, allocations: 215.3 kB / 0.9268 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.675, allocations: 0.7852 MB / 0.9276 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.249e-05/0.6751, allocations: 66 kB / 0.9276 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.6752, allocations: 96 kB / 0.9277 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.6768, allocations: 1.016 MB / 0.9287 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.6768, allocations: 0 / 0.9287 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.443e-05/0.6769, allocations: 36 kB / 0.9287 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.6769, allocations: 24 kB / 0.9288 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.6786, allocations: 1.179 MB / 0.9299 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00373/0.6824, allocations: 2.668 MB / 0.9325 GB, free: 8.109 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.684, allocations: 0.9127 MB / 0.9334 GB, free: 7.172 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005478/0.6845, allocations: 310.7 kB / 0.9337 GB, free: 6.859 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006203/0.6852, allocations: 470.1 kB / 0.9342 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008367/0.686, allocations: 0.5069 MB / 0.9347 GB, free: 5.781 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 2.174e-06/0.686, allocations: 2.156 kB / 0.9347 GB, free: 5.781 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.00308/0.6891, allocations: 1.225 MB / 0.9359 GB, free: 4.531 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/0.6892, allocations: 192.5 kB / 0.936 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007382/0.69, allocations: 0.6411 MB / 0.9367 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.06e-05/0.69, allocations: 41.7 kB / 0.9367 GB, free: 3.609 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/0.6903, allocations: 428.2 kB / 0.9371 GB, free: 3.184 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.6905, allocations: 268.1 kB / 0.9374 GB, free: 2.918 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.6908, allocations: 146.5 kB / 0.9375 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.6909, allocations: 390.7 kB / 0.9379 GB, free: 2.375 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/0.6914, allocations: 253.9 kB / 0.9381 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005937/0.692, allocations: 366.5 kB / 0.9385 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.6931, allocations: 0.6033 MB / 0.9391 GB, free: 1.133 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6931, allocations: 0 / 0.9391 GB, free: 1.133 MB / 0.6856 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001793/0.6949, allocations: 0.8252 MB / 0.9399 GB, free: 304 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.6949, allocations: 4 kB / 0.9399 GB, free: 300 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.6949, allocations: 7.984 kB / 0.9399 GB, free: 292 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005814/0.6955, allocations: 80.88 kB / 0.94 GB, free: 208 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006317/0.6962, allocations: 161.8 kB / 0.9401 GB, free: 48 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/0.6982, allocations: 1.62 MB / 0.9417 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006352/0.6989, allocations: 106.3 kB / 0.9418 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.6989, allocations: 31.98 kB / 0.9418 GB, free: 14.15 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: 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.0004141/0.6994, allocations: 269.8 kB / 0.9421 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.6995, allocations: 86.95 kB / 0.9422 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/0.7019, allocations: 1.101 MB / 0.9432 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.7019, allocations: 11.94 kB / 0.9432 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.7019, allocations: 4 kB / 0.9433 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.7019, allocations: 3.984 kB / 0.9433 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003108/0.705, allocations: 2.006 MB / 0.9452 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.705, allocations: 0 / 0.9452 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005934/0.7056, allocations: 147.8 kB / 0.9454 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004224/0.7061, allocations: 72.78 kB / 0.9454 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.585e-05/0.7061, allocations: 27.98 kB / 0.9455 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.7079, allocations: 1.666 MB / 0.9471 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7079, allocations: 4.062 kB / 0.9471 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.7099, allocations: 1.01 MB / 0.9481 GB, free: 7.504 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003598/0.7102, allocations: 279.7 kB / 0.9483 GB, free: 7.211 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.7104, allocations: 27.89 kB / 0.9484 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006428/0.711, allocations: 71.94 kB / 0.9484 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.7112, allocations: 68.89 kB / 0.9485 GB, free: 7.047 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-05/0.7112, allocations: 35.98 kB / 0.9485 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005511/0.7118, allocations: 475 kB / 0.949 GB, free: 6.551 MB / 0.7012 GB Notification: Performance of sort global known variables: time 4.41e-07/0.7118, allocations: 0 / 0.949 GB, free: 6.551 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008736/0.7127, allocations: 327.2 kB / 0.9493 GB, free: 6.23 MB / 0.7012 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.003385/0.7161, allocations: 2.102 MB / 0.9513 GB, free: 4.293 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001628/0.7177, allocations: 0.8168 MB / 0.9521 GB, free: 3.465 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.7177, allocations: 0 / 0.9521 GB, free: 3.465 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008934/0.7186, allocations: 0.5315 MB / 0.9527 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.7197, allocations: 281.5 kB / 0.9529 GB, free: 2.676 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.7303, allocations: 6.516 MB / 0.9593 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006595/0.731, allocations: 1.039 MB / 0.9603 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008288/0.7318, allocations: 278.6 kB / 0.9606 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005412/0.7324, allocations: 403.3 kB / 0.961 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.7324, allocations: 0 / 0.961 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05443/0.7868, allocations: 22.38 MB / 0.9828 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.12, allocations: 11.67 kB / 0.9828 GB, free: 4.258 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)