Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.001454/0.001454, allocations: 108 kB / 15.61 MB, free: 148 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.001074/0.001074, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.224/1.224, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001962/0.001962, allocations: 290.5 kB / 290.7 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9628/0.9628, allocations: 169.3 MB / 0.4982 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 98.86 kB / 0.5954 GB, free: 27.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1758, allocations: 86.98 MB / 0.6803 GB, free: 0.543 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.009564/0.1854, allocations: 4.28 MB / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5062/0.6917, allocations: 150.5 MB / 0.8315 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009814/0.6927, allocations: 20.06 kB / 0.8315 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000651/0.6934, allocations: 176.5 kB / 0.8316 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.6957, allocations: 0.4987 MB / 0.8321 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002509/0.6982, allocations: 0.8097 MB / 0.8329 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001912/0.7002, allocations: 1.279 MB / 0.8342 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.7012, allocations: 0.6153 MB / 0.8348 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009143/0.7022, allocations: 468.8 kB / 0.8352 GB, free: 472 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007255/0.7029, allocations: 482.1 kB / 0.8357 GB, free: 364 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002542/0.7032, allocations: 113.2 kB / 0.8358 GB, free: 364 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.7044, allocations: 458.3 kB / 0.8362 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002934/0.7047, allocations: 292.2 kB / 0.8365 GB, free: 300 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006103/0.7053, allocations: 0.5309 MB / 0.837 GB, free: 132 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002348/0.7077, allocations: 1.543 MB / 0.8385 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.7077, allocations: 5.719 kB / 0.8385 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7077, allocations: 0 / 0.8385 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.163e-05/0.7078, allocations: 0 / 0.8385 GB, free: 15.9 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003398/0.7112, allocations: 1.401 MB / 0.8399 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.7112, allocations: 9.625 kB / 0.8399 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002035/0.7114, allocations: 139.6 kB / 0.84 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009871/0.7124, allocations: 184.5 kB / 0.8402 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.7135, allocations: 0.731 MB / 0.8409 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.026e-05/0.7135, allocations: 59 kB / 0.841 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.7136, allocations: 80.81 kB / 0.8411 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.7152, allocations: 0.9058 MB / 0.842 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.7153, allocations: 0 / 0.842 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.7154, allocations: 35.81 kB / 0.842 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.7154, allocations: 20.41 kB / 0.842 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/0.718, allocations: 1.097 MB / 0.8431 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005141/0.7232, allocations: 2.484 MB / 0.8455 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002021/0.7252, allocations: 0.8563 MB / 0.8463 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007139/0.726, allocations: 297 kB / 0.8466 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-05/0.7261, allocations: 32.89 kB / 0.8467 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001217/0.7273, allocations: 491.4 kB / 0.8471 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 3.737e-06/0.7273, allocations: 4 kB / 0.8471 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.004422/0.7318, allocations: 1.167 MB / 0.8483 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.7319, allocations: 196.1 kB / 0.8485 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.733, allocations: 0.6183 MB / 0.8491 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.963e-05/0.7331, allocations: 45.58 kB / 0.8491 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004945/0.7336, allocations: 392.2 kB / 0.8495 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003099/0.7339, allocations: 251.5 kB / 0.8497 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003202/0.7343, allocations: 147 kB / 0.8499 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002276/0.7345, allocations: 388.1 kB / 0.8502 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006648/0.7352, allocations: 242.6 kB / 0.8505 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007795/0.736, allocations: 349.4 kB / 0.8508 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.7374, allocations: 0.5709 MB / 0.8513 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.7374, allocations: 0 / 0.8513 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002222/0.7396, allocations: 0.7876 MB / 0.8521 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.7397, allocations: 7.438 kB / 0.8521 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.7397, allocations: 9.734 kB / 0.8521 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/0.7403, allocations: 83.14 kB / 0.8522 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005658/0.7408, allocations: 145.7 kB / 0.8523 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.7429, allocations: 1.626 MB / 0.8539 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006739/0.7436, allocations: 87.55 kB / 0.854 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-05/0.7436, allocations: 32.31 kB / 0.8541 GB, free: 6.117 MB / 0.5762 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 (85): * Single equations (assignments): 84 * 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.0004201/0.744, allocations: 261 kB / 0.8543 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.7442, allocations: 94.45 kB / 0.8544 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/0.7466, allocations: 1.055 MB / 0.8554 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.7466, allocations: 7.656 kB / 0.8554 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.7466, allocations: 6.375 kB / 0.8554 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.7466, allocations: 3.984 kB / 0.8554 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003042/0.7496, allocations: 1.913 MB / 0.8573 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.7497, allocations: 2.125 kB / 0.8573 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005437/0.7502, allocations: 140.3 kB / 0.8574 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/0.7507, allocations: 78.75 kB / 0.8575 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.064e-05/0.7507, allocations: 22.86 kB / 0.8575 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.7526, allocations: 1.659 MB / 0.8592 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.7526, allocations: 3.938 kB / 0.8592 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.7545, allocations: 0.9756 MB / 0.8601 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/0.7549, allocations: 272 kB / 0.8604 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.755, allocations: 23.25 kB / 0.8604 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006388/0.7557, allocations: 63.7 kB / 0.8605 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.7558, allocations: 72 kB / 0.8605 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.407e-05/0.7559, allocations: 32.5 kB / 0.8606 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005198/0.7564, allocations: 452.2 kB / 0.861 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7564, allocations: 3.938 kB / 0.861 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008152/0.7572, allocations: 302.5 kB / 0.8613 GB, free: 1.059 MB / 0.5762 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 (90): * Single equations (assignments): 84 * 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.003454/0.7607, allocations: 2.039 MB / 0.8633 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002176/0.7629, allocations: 0.9828 MB / 0.8642 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.7629, allocations: 2.781 kB / 0.8642 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009009/0.7638, allocations: 0.5079 MB / 0.8647 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.7651, allocations: 295.2 kB / 0.865 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.7758, allocations: 6.456 MB / 0.8713 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005907/0.7764, allocations: 1.012 MB / 0.8723 GB, free: 10 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008372/0.7773, allocations: 257.4 kB / 0.8725 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004946/0.7778, allocations: 379.9 kB / 0.8729 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/0.7778, allocations: 0 / 0.8729 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1797/0.9575, allocations: 20.7 MB / 0.8931 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.63, allocations: 16.09 kB / 0.8931 GB, free: 6.336 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)