Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_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.00127/0.00127, allocations: 95.33 kB / 15.68 MB, free: 488 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.002309/0.002309, allocations: 175.2 kB / 16.57 MB, free: 6.391 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.335/1.335, allocations: 223.2 MB / 240.5 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7851/0.7851, allocations: 113.7 MB / 405.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002961/0.0002961, allocations: 8 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1264, allocations: 77.12 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.003813/0.1302, allocations: 3.577 MB / 0.5602 GB, free: 8.102 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3757/0.5059, allocations: 127.5 MB / 0.6847 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004383/0.5064, allocations: 19.94 kB / 0.6848 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.5067, allocations: 79.27 kB / 0.6848 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.5078, allocations: 487.2 kB / 0.6853 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.5092, allocations: 0.6138 MB / 0.6859 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001014/0.5103, allocations: 0.7948 MB / 0.6867 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006911/0.511, allocations: 469.5 kB / 0.6871 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005415/0.5115, allocations: 330.6 kB / 0.6874 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004007/0.5119, allocations: 326.3 kB / 0.6877 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.957e-05/0.512, allocations: 28 kB / 0.6878 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006877/0.5127, allocations: 307.6 kB / 0.6881 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.5129, allocations: 175.2 kB / 0.6882 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.5131, allocations: 193.1 kB / 0.6884 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.5142, allocations: 1.143 MB / 0.6895 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.5142, allocations: 0 / 0.6895 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.314e-06/0.5142, allocations: 0 / 0.6895 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.5142, allocations: 0 / 0.6895 GB, free: 2.113 MB / 0.4981 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.001995/0.5162, allocations: 1.209 MB / 0.6907 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.5162, allocations: 8.031 kB / 0.6907 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.5164, allocations: 139.1 kB / 0.6909 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008834/0.5173, allocations: 194.5 kB / 0.691 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.5184, allocations: 0.6992 MB / 0.6917 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.375e-05/0.5185, allocations: 74.62 kB / 0.6918 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.864e-05/0.5186, allocations: 76 kB / 0.6919 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.52, allocations: 0.895 MB / 0.6927 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.52, allocations: 0 / 0.6927 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.339e-05/0.5201, allocations: 40 kB / 0.6928 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.5202, allocations: 20 kB / 0.6928 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.5219, allocations: 1.093 MB / 0.6939 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003709/0.5256, allocations: 2.499 MB / 0.6963 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.5271, allocations: 0.8755 MB / 0.6972 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-05/0.5272, allocations: 32.61 kB / 0.6972 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.5283, allocations: 491 kB / 0.6977 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=79): time 2.073e-06/0.5284, allocations: 0 / 0.6977 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of matching and sorting (n=79): time 0.002882/0.5312, allocations: 1.18 MB / 0.6988 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.758e-05/0.5313, allocations: 196.5 kB / 0.699 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006989/0.532, allocations: 0.6136 MB / 0.6996 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.097e-05/0.5321, allocations: 41.7 kB / 0.6996 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.5324, allocations: 396.3 kB / 0.7 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.5326, allocations: 240.5 kB / 0.7002 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.5326, allocations: 19.83 kB / 0.7003 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.5328, allocations: 390.7 kB / 0.7006 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004666/0.5332, allocations: 241.9 kB / 0.7009 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005193/0.5338, allocations: 350.6 kB / 0.7012 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004942/0.5343, allocations: 282.9 kB / 0.7015 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5343, allocations: 0 / 0.7015 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001622/0.5359, allocations: 0.7941 MB / 0.7022 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.5359, allocations: 4 kB / 0.7023 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.536, allocations: 7.984 kB / 0.7023 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005531/0.5365, allocations: 84.81 kB / 0.7023 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/0.5371, allocations: 151.7 kB / 0.7025 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.5389, allocations: 1.528 MB / 0.704 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005938/0.5395, allocations: 99.34 kB / 0.7041 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/0.5396, allocations: 32.05 kB / 0.7041 GB, free: 2.672 MB / 0.5137 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003514/0.54, allocations: 266.3 kB / 0.7044 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.5401, allocations: 82.97 kB / 0.7044 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.5422, allocations: 1.063 MB / 0.7055 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.5422, allocations: 12 kB / 0.7055 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.5423, allocations: 0 / 0.7055 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.5423, allocations: 3.984 kB / 0.7055 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002833/0.5451, allocations: 1.907 MB / 0.7074 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.5451, allocations: 3.938 kB / 0.7074 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00054/0.5457, allocations: 143.8 kB / 0.7075 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004843/0.5462, allocations: 84.77 kB / 0.7076 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.015e-05/0.5462, allocations: 23.98 kB / 0.7076 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/0.5479, allocations: 1.579 MB / 0.7091 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5479, allocations: 0 / 0.7091 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.5497, allocations: 0.9805 MB / 0.7101 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003663/0.55, allocations: 279.7 kB / 0.7104 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.5502, allocations: 23.98 kB / 0.7104 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006307/0.5508, allocations: 80.95 kB / 0.7105 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.5509, allocations: 76.83 kB / 0.7105 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.214e-05/0.551, allocations: 35.98 kB / 0.7106 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004962/0.5515, allocations: 447 kB / 0.711 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5515, allocations: 0 / 0.711 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007501/0.5523, allocations: 299.2 kB / 0.7113 GB, free: 11.05 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002973/0.5552, allocations: 2.031 MB / 0.7133 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.5566, allocations: 0.7885 MB / 0.714 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5567, allocations: 0 / 0.714 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008123/0.5575, allocations: 0.508 MB / 0.7145 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009417/0.5584, allocations: 245 kB / 0.7148 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00898/0.5674, allocations: 5.405 MB / 0.72 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005503/0.568, allocations: 1.039 MB / 0.7211 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008112/0.5688, allocations: 258.5 kB / 0.7213 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005717/0.5694, allocations: 375.3 kB / 0.7217 GB, free: 484 kB / 0.5294 GB Notification: Performance of SimCode: time 1.123e-06/0.5694, allocations: 0 / 0.7217 GB, free: 484 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/0.6709, allocations: 20.8 MB / 0.742 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/0.6712, allocations: 291.4 kB / 0.7423 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/3.004, allocations: 0 / 0.7423 GB, free: 11.73 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) Environment - environmentSimulation: