Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.001405/0.001405, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 186.6 kB / 16.66 MB, free: 6.602 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.454/1.454, 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/NcDataReader2 2.5.1-master/package.mo): time 0.00274/0.00274, allocations: 283 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.037/1.037, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003016/0.003016, allocations: 99.91 kB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1679, allocations: 86.97 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006592/0.1746, allocations: 4.412 MB / 0.7702 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5083/0.6829, allocations: 150.6 MB / 0.9172 GB, free: 7.918 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007976/0.6837, allocations: 19.88 kB / 0.9173 GB, free: 7.898 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007241/0.6845, allocations: 180.7 kB / 0.9174 GB, free: 7.723 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001913/0.6864, allocations: 0.5113 MB / 0.9179 GB, free: 7.227 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.6886, allocations: 0.8429 MB / 0.9188 GB, free: 6.41 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001807/0.6904, allocations: 1.348 MB / 0.9201 GB, free: 5.055 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.6916, allocations: 0.6264 MB / 0.9207 GB, free: 4.406 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008034/0.6924, allocations: 490.9 kB / 0.9212 GB, free: 3.926 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007972/0.6932, allocations: 0.5073 MB / 0.9217 GB, free: 3.418 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002575/0.6934, allocations: 116 kB / 0.9218 GB, free: 3.305 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009789/0.6944, allocations: 483.6 kB / 0.9222 GB, free: 2.832 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003206/0.6948, allocations: 310.9 kB / 0.9225 GB, free: 2.527 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005981/0.6954, allocations: 0.5596 MB / 0.9231 GB, free: 1.965 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.6975, allocations: 1.648 MB / 0.9247 GB, free: 328 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6975, allocations: 0 / 0.9247 GB, free: 328 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6975, allocations: 0 / 0.9247 GB, free: 328 kB / 0.67 GB Notification: Performance of Transformations before backend: time 1.677e-05/0.6975, allocations: 0 / 0.9247 GB, free: 328 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002854/0.7004, allocations: 1.489 MB / 0.9261 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.7005, allocations: 8.031 kB / 0.9261 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001723/0.7006, allocations: 135.5 kB / 0.9263 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009465/0.7016, allocations: 196 kB / 0.9265 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.7029, allocations: 0.7866 MB / 0.9272 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.033e-05/0.703, allocations: 65.94 kB / 0.9273 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.7031, allocations: 93.75 kB / 0.9274 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.7048, allocations: 0.9418 MB / 0.9283 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.7048, allocations: 0 / 0.9283 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.653e-05/0.7049, allocations: 36 kB / 0.9283 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.7049, allocations: 28 kB / 0.9284 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.7068, allocations: 1.12 MB / 0.9294 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004165/0.711, allocations: 2.517 MB / 0.9319 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.7127, allocations: 0.8999 MB / 0.9328 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000576/0.7133, allocations: 316.3 kB / 0.9331 GB, free: 7.473 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.062e-05/0.7134, allocations: 32.69 kB / 0.9331 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009217/0.7143, allocations: 0.5175 MB / 0.9336 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=84): time 2.515e-06/0.7143, allocations: 0 / 0.9336 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84): time 0.003311/0.7176, allocations: 1.251 MB / 0.9348 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.7178, allocations: 192.9 kB / 0.935 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008553/0.7186, allocations: 0.6411 MB / 0.9357 GB, free: 4.75 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.747e-05/0.7187, allocations: 45.69 kB / 0.9357 GB, free: 4.699 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/0.7191, allocations: 397.1 kB / 0.9361 GB, free: 4.305 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.7194, allocations: 289.5 kB / 0.9364 GB, free: 4.02 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/0.7196, allocations: 162.5 kB / 0.9365 GB, free: 3.852 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002065/0.7198, allocations: 394.7 kB / 0.9369 GB, free: 3.457 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005249/0.7204, allocations: 253.9 kB / 0.9371 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006401/0.721, allocations: 366.6 kB / 0.9375 GB, free: 2.828 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.7222, allocations: 0.6008 MB / 0.9381 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7222, allocations: 0 / 0.9381 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002048/0.7242, allocations: 0.835 MB / 0.9389 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.7243, allocations: 6.344 kB / 0.9389 GB, free: 1.367 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.7243, allocations: 4 kB / 0.9389 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006277/0.7249, allocations: 88.73 kB / 0.939 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007104/0.7256, allocations: 155.8 kB / 0.9391 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.7281, allocations: 1.624 MB / 0.9407 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007869/0.7289, allocations: 102.1 kB / 0.9408 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.692e-05/0.729, allocations: 31.97 kB / 0.9408 GB, free: 15.22 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: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.0004866/0.7295, allocations: 261.6 kB / 0.9411 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.7297, allocations: 91.5 kB / 0.9412 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002671/0.7323, allocations: 1.138 MB / 0.9423 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.7324, allocations: 15.94 kB / 0.9423 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.7324, allocations: 0 / 0.9423 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.7324, allocations: 3.984 kB / 0.9423 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003692/0.7361, allocations: 2.026 MB / 0.9443 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.7361, allocations: 0 / 0.9443 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006283/0.7368, allocations: 159.7 kB / 0.9444 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004387/0.7372, allocations: 72.8 kB / 0.9445 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.755e-05/0.7373, allocations: 27.97 kB / 0.9445 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/0.7393, allocations: 1.659 MB / 0.9461 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7394, allocations: 0 / 0.9461 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.7416, allocations: 1.049 MB / 0.9472 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004568/0.7421, allocations: 292.1 kB / 0.9475 GB, free: 8.176 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.7422, allocations: 20 kB / 0.9475 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007095/0.7429, allocations: 73.33 kB / 0.9475 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.7431, allocations: 76.89 kB / 0.9476 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-05/0.7432, allocations: 38.83 kB / 0.9477 GB, free: 7.977 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000634/0.7439, allocations: 471 kB / 0.9481 GB, free: 7.523 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7439, allocations: 0 / 0.9481 GB, free: 7.523 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001006/0.7449, allocations: 315.2 kB / 0.9484 GB, free: 7.215 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.004254/0.7492, allocations: 2.107 MB / 0.9505 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001828/0.751, allocations: 0.8365 MB / 0.9513 GB, free: 4.422 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.751, allocations: 0 / 0.9513 GB, free: 4.422 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.7521, allocations: 0.5431 MB / 0.9518 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.7534, allocations: 300.8 kB / 0.9521 GB, free: 3.598 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/0.7661, allocations: 6.516 MB / 0.9585 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007304/0.7669, allocations: 1.032 MB / 0.9595 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009327/0.7679, allocations: 266.8 kB / 0.9597 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006264/0.7685, allocations: 407.3 kB / 0.9601 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of SimCode: time 8.61e-07/0.7685, allocations: 4 kB / 0.9601 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07822/0.8467, allocations: 21.89 MB / 0.9815 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/14.03, allocations: 8.75 kB / 0.9815 GB, free: 5.684 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)