Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) 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: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5591/0.5591, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 221.3 MB / 348.3 MB, free: 428 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008197/0.0008199, allocations: 99.28 kB / 421.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.916e-05/2.921e-05, allocations: 4 kB / 0.4897 GB, free: 5.273 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.377, allocations: 72.31 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.499/4.876, allocations: 1.684 GB / 2.245 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/4.876, allocations: 91.27 kB / 2.245 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1272/5.004, allocations: 58.78 MB / 2.302 GB, free: 9.316 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.893e-06/5.004, allocations: 0 / 2.302 GB, free: 9.316 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.435e-05/5.004, allocations: 24 kB / 2.302 GB, free: 9.293 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001793/5.005, allocations: 1.066 MB / 2.303 GB, free: 8.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/5.005, allocations: 11.98 kB / 2.303 GB, free: 8.168 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001388/5.006, allocations: 134.9 kB / 2.303 GB, free: 8.027 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008495/5.006, allocations: 182.6 kB / 2.303 GB, free: 7.848 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009147/5.007, allocations: 0.6036 MB / 2.304 GB, free: 7.203 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/5.007, allocations: 58 kB / 2.304 GB, free: 7.145 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.823e-05/5.008, allocations: 79.95 kB / 2.304 GB, free: 7.066 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/5.009, allocations: 0.817 MB / 2.305 GB, free: 6.211 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/5.009, allocations: 0 / 2.305 GB, free: 6.211 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.926e-05/5.009, allocations: 40 kB / 2.305 GB, free: 6.172 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/5.009, allocations: 20 kB / 2.305 GB, free: 6.152 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/5.01, allocations: 1.015 MB / 2.306 GB, free: 5.133 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003258/5.013, allocations: 2.375 MB / 2.308 GB, free: 2.691 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009264/5.014, allocations: 0.6767 MB / 2.309 GB, free: 2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/5.015, allocations: 254.4 kB / 2.309 GB, free: 1.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.188e-05/5.015, allocations: 28.66 kB / 2.309 GB, free: 1.719 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005913/5.015, allocations: 405.1 kB / 2.31 GB, free: 1.305 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=71): time 4.668e-06/5.015, allocations: 3.984 kB / 2.31 GB, free: 1.301 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71): time 0.001508/5.017, allocations: 0.6758 MB / 2.31 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.998e-05/5.017, allocations: 244.1 kB / 2.311 GB, free: 332 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4732/5.49, allocations: 0.571 MB / 2.311 GB, free: 196.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002394/5.491, allocations: 41.45 kB / 2.311 GB, free: 196.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003737/5.491, allocations: 371.9 kB / 2.312 GB, free: 196.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/5.491, allocations: 235.2 kB / 2.312 GB, free: 196.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/5.491, allocations: 12.28 kB / 2.312 GB, free: 196.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001388/5.491, allocations: 384.6 kB / 2.312 GB, free: 196.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/5.492, allocations: 192.3 kB / 2.312 GB, free: 196.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004658/5.492, allocations: 303.7 kB / 2.313 GB, free: 196.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004699/5.493, allocations: 243.8 kB / 2.313 GB, free: 196.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/5.493, allocations: 5.031 kB / 2.313 GB, free: 196.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001776/5.495, allocations: 0.6745 MB / 2.313 GB, free: 196.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/5.495, allocations: 5.625 kB / 2.313 GB, free: 196.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/5.495, allocations: 3.453 kB / 2.313 GB, free: 196.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006254/5.495, allocations: 83.95 kB / 2.314 GB, free: 196.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006395/5.496, allocations: 136.7 kB / 2.314 GB, free: 196.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/5.498, allocations: 1.513 MB / 2.315 GB, free: 194.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006736/5.499, allocations: 84.08 kB / 2.315 GB, free: 194.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.39e-05/5.499, allocations: 24.67 kB / 2.315 GB, free: 194.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0001844/5.499, allocations: 141.5 kB / 2.315 GB, free: 194.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/5.499, allocations: 75.36 kB / 2.315 GB, free: 194.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/5.501, allocations: 0.9365 MB / 2.316 GB, free: 194.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/5.501, allocations: 9.531 kB / 2.316 GB, free: 194.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/5.501, allocations: 1.219 kB / 2.316 GB, free: 194.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/5.501, allocations: 3.609 kB / 2.316 GB, free: 194.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/5.503, allocations: 0.853 MB / 2.317 GB, free: 194.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/5.503, allocations: 0 / 2.317 GB, free: 194.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006655/5.504, allocations: 144.8 kB / 2.317 GB, free: 194.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005394/5.504, allocations: 80.69 kB / 2.317 GB, free: 194.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/5.504, allocations: 25.92 kB / 2.317 GB, free: 194.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/5.506, allocations: 1.54 MB / 2.319 GB, free: 193.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/5.506, allocations: 0.5625 kB / 2.319 GB, free: 193.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/5.508, allocations: 0.7857 MB / 2.32 GB, free: 193 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/5.508, allocations: 279.2 kB / 2.32 GB, free: 192.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.372e-05/5.508, allocations: 16.81 kB / 2.32 GB, free: 192.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004889/5.509, allocations: 68.62 kB / 2.32 GB, free: 192.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/5.509, allocations: 61.38 kB / 2.32 GB, free: 192.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.548e-05/5.509, allocations: 30.66 kB / 2.32 GB, free: 192.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005801/5.51, allocations: 477.6 kB / 2.321 GB, free: 192.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/5.51, allocations: 0 / 2.321 GB, free: 192.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001094/5.511, allocations: 349.5 kB / 2.321 GB, free: 192.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003306/5.514, allocations: 2.266 MB / 2.323 GB, free: 192 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001154/5.515, allocations: 0.6705 MB / 2.324 GB, free: 191.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/5.515, allocations: 0 / 2.324 GB, free: 191.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000634/5.516, allocations: 459.6 kB / 2.324 GB, free: 191.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/5.517, allocations: 239.1 kB / 2.325 GB, free: 191.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/5.52, allocations: 1.531 MB / 2.326 GB, free: 191.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/5.521, allocations: 1.012 MB / 2.327 GB, free: 190.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007988/5.522, allocations: 250.6 kB / 2.327 GB, free: 190.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004176/5.522, allocations: 344 kB / 2.328 GB, free: 190.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.052e-06/5.522, allocations: 0 / 2.328 GB, free: 190.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0541/5.576, allocations: 30.63 MB / 2.357 GB, free: 186.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/5.576, allocations: 250.2 kB / 2.358 GB, free: 186.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.074/8.651, allocations: 0 / 2.358 GB, free: 186.4 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)