Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.0009485/0.0009485, 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.001553/0.001553, 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.326/1.326, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6382/0.6382, allocations: 113.7 MB / 405.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002701/0.0002701, allocations: 15.94 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1174, allocations: 77.11 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.003923/0.1214, allocations: 3.67 MB / 0.5603 GB, free: 7.996 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3478/0.4692, allocations: 127.6 MB / 0.6849 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003084/0.4695, allocations: 15.88 kB / 0.6849 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.4698, allocations: 71.34 kB / 0.6849 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000985/0.4708, allocations: 499.1 kB / 0.6854 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.472, allocations: 0.6222 MB / 0.686 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008082/0.4728, allocations: 0.8183 MB / 0.6868 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006079/0.4734, allocations: 0.5423 MB / 0.6874 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003457/0.4737, allocations: 346.5 kB / 0.6877 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003471/0.4741, allocations: 350.1 kB / 0.688 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.309e-05/0.4742, allocations: 24 kB / 0.688 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004773/0.4746, allocations: 315.6 kB / 0.6883 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.4748, allocations: 183.2 kB / 0.6885 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.475, allocations: 201.1 kB / 0.6887 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009586/0.4759, allocations: 1.228 MB / 0.6899 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.4759, allocations: 0 / 0.6899 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.476, allocations: 0 / 0.6899 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.476, allocations: 4 kB / 0.6899 GB, free: 1.504 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001939/0.4779, allocations: 1.255 MB / 0.6911 GB, free: 208 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.478, allocations: 12.03 kB / 0.6912 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001494/0.4781, allocations: 147.9 kB / 0.6913 GB, free: 40 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009792/0.4791, allocations: 226.5 kB / 0.6915 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009626/0.4801, allocations: 0.7299 MB / 0.6922 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.292e-05/0.4801, allocations: 77.78 kB / 0.6923 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.4802, allocations: 91.94 kB / 0.6924 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.4817, allocations: 0.9994 MB / 0.6934 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.4817, allocations: 0 / 0.6934 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.977e-05/0.4818, allocations: 44 kB / 0.6934 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.4818, allocations: 24 kB / 0.6934 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.4835, allocations: 1.175 MB / 0.6946 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003774/0.4873, allocations: 2.65 MB / 0.6972 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/0.4895, allocations: 0.9709 MB / 0.6981 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.052e-05/0.4896, allocations: 36.59 kB / 0.6981 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008253/0.4905, allocations: 0.4952 MB / 0.6986 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=82): time 2.104e-06/0.4905, allocations: 0 / 0.6986 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82): time 0.002907/0.4934, allocations: 1.233 MB / 0.6998 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.841e-05/0.4935, allocations: 188.6 kB / 0.7 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006928/0.4942, allocations: 0.6332 MB / 0.7006 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.4943, allocations: 41.7 kB / 0.7007 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.4946, allocations: 424.2 kB / 0.7011 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.4947, allocations: 268.2 kB / 0.7013 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.4948, allocations: 12 kB / 0.7013 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.495, allocations: 390.8 kB / 0.7017 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/0.4955, allocations: 253.9 kB / 0.702 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000567/0.496, allocations: 370.5 kB / 0.7023 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005328/0.4966, allocations: 298.9 kB / 0.7026 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4966, allocations: 0 / 0.7026 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001674/0.4983, allocations: 0.8253 MB / 0.7034 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.4983, allocations: 4 kB / 0.7034 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.4983, allocations: 96 / 0.7034 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005512/0.4989, allocations: 84.78 kB / 0.7035 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006254/0.4995, allocations: 163.7 kB / 0.7036 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.5013, allocations: 1.532 MB / 0.7051 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006292/0.5019, allocations: 110.2 kB / 0.7052 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/0.502, allocations: 31.98 kB / 0.7053 GB, free: 1.254 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 (88): * Single equations (assignments): 87 * 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.000405/0.5024, allocations: 274.3 kB / 0.7055 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.5025, allocations: 83.84 kB / 0.7056 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/0.5048, allocations: 1.113 MB / 0.7067 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.5049, allocations: 8 kB / 0.7067 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.5049, allocations: 0 / 0.7067 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.5049, allocations: 7.984 kB / 0.7067 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003026/0.5079, allocations: 2.033 MB / 0.7087 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5079, allocations: 0 / 0.7087 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005786/0.5085, allocations: 151.8 kB / 0.7089 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004688/0.509, allocations: 80.77 kB / 0.7089 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.984e-05/0.5091, allocations: 31.98 kB / 0.709 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001534/0.5106, allocations: 1.551 MB / 0.7105 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5106, allocations: 0 / 0.7105 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.5124, allocations: 1.023 MB / 0.7115 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/0.5127, allocations: 291.9 kB / 0.7118 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.5129, allocations: 16 kB / 0.7118 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006497/0.5135, allocations: 87.3 kB / 0.7118 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.5136, allocations: 72.89 kB / 0.7119 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.486e-05/0.5137, allocations: 35.97 kB / 0.712 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004765/0.5142, allocations: 475 kB / 0.7124 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5142, allocations: 0 / 0.7124 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007557/0.515, allocations: 323 kB / 0.7127 GB, free: 9.387 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 (94): * Single equations (assignments): 88 * 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.003053/0.518, allocations: 2.055 MB / 0.7147 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.5195, allocations: 0.8236 MB / 0.7155 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5195, allocations: 0 / 0.7155 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000869/0.5204, allocations: 0.5275 MB / 0.716 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009834/0.5214, allocations: 243.4 kB / 0.7163 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008829/0.5302, allocations: 5.679 MB / 0.7218 GB, free: 96 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/0.5307, allocations: 1.059 MB / 0.7229 GB, free: 15 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007422/0.5315, allocations: 278.7 kB / 0.7231 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005157/0.532, allocations: 411.3 kB / 0.7235 GB, free: 14.32 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.532, allocations: 7.938 kB / 0.7235 GB, free: 14.32 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4637/0.9957, allocations: 21.7 MB / 0.7447 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004868/0.9963, allocations: 287.2 kB / 0.745 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.045/4.042, allocations: 0 / 0.745 GB, free: 8.688 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) Environment - environmentSimulation: