Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.001135/0.001136, allocations: 178 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5229/0.5229, allocations: 90.92 MB / 99.35 MB, free: 2.211 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 221.5 MB / 343.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 87.95 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.289e-05/2.26e-05, allocations: 0 / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1447, allocations: 72.31 MB / 0.5536 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.811/3.956, allocations: 1.684 GB / 2.238 GB, free: 180.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/3.956, allocations: 91.02 kB / 2.238 GB, free: 180.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1392/4.095, allocations: 67.24 MB / 2.304 GB, free: 156.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.465e-06/4.095, allocations: 0 / 2.304 GB, free: 156.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.436e-05/4.095, allocations: 24 kB / 2.304 GB, free: 156.1 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002392/4.098, allocations: 1.118 MB / 2.305 GB, free: 154.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/4.098, allocations: 8.031 kB / 2.305 GB, free: 154.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/4.099, allocations: 214.5 kB / 2.305 GB, free: 154.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/4.1, allocations: 0.6308 MB / 2.305 GB, free: 154 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.847e-05/4.1, allocations: 28 kB / 2.305 GB, free: 154 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/4.1, allocations: 52 kB / 2.306 GB, free: 153.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001421/4.102, allocations: 1.026 MB / 2.307 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/4.103, allocations: 0.7858 MB / 2.307 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/4.103, allocations: 0 / 2.307 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.804e-05/4.103, allocations: 4 kB / 2.307 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/4.103, allocations: 24 kB / 2.307 GB, free: 152 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00338/4.107, allocations: 2.419 MB / 2.31 GB, free: 149.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008316/4.107, allocations: 0.7419 MB / 2.31 GB, free: 148.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/4.108, allocations: 243.1 kB / 2.311 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005277/4.108, allocations: 474.4 kB / 2.311 GB, free: 148 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004861/4.109, allocations: 387.8 kB / 2.311 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=73): time 2.565e-06/4.109, allocations: 0 / 2.311 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73): time 0.003986/4.113, allocations: 1.191 MB / 2.313 GB, free: 146.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/4.113, allocations: 244.1 kB / 2.313 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006494/4.114, allocations: 498.3 kB / 2.313 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.924e-05/4.114, allocations: 29.7 kB / 2.313 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/4.114, allocations: 404 kB / 2.314 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/4.114, allocations: 236.5 kB / 2.314 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/4.114, allocations: 0 / 2.314 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.945e-05/4.114, allocations: 382.7 kB / 2.314 GB, free: 144.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/4.114, allocations: 181.5 kB / 2.315 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/4.115, allocations: 291.5 kB / 2.315 GB, free: 144.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002895/4.118, allocations: 0.7696 MB / 2.316 GB, free: 143.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/4.118, allocations: 3.938 kB / 2.316 GB, free: 143.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003908/4.122, allocations: 1.187 MB / 2.317 GB, free: 142.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/4.122, allocations: 4 kB / 2.317 GB, free: 142.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/4.122, allocations: 3.938 kB / 2.317 GB, free: 142.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005688/4.122, allocations: 80.84 kB / 2.317 GB, free: 142 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/4.123, allocations: 139.8 kB / 2.317 GB, free: 141.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/4.124, allocations: 1.453 MB / 2.318 GB, free: 140.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006851/4.125, allocations: 63.58 kB / 2.318 GB, free: 140.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-05/4.125, allocations: 32 kB / 2.318 GB, free: 140.2 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 (75): * Single equations (assignments): 74 * 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.0001954/4.125, allocations: 126 kB / 2.319 GB, free: 140.1 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003984/4.129, allocations: 1.187 MB / 2.32 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/4.13, allocations: 75.3 kB / 2.32 GB, free: 138.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004379/4.134, allocations: 1.437 MB / 2.321 GB, free: 137.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/4.134, allocations: 12 kB / 2.321 GB, free: 137.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/4.134, allocations: 0 / 2.321 GB, free: 137.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/4.134, allocations: 3.984 kB / 2.321 GB, free: 137.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00501/4.139, allocations: 2.249 MB / 2.323 GB, free: 135 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/4.139, allocations: 0 / 2.323 GB, free: 135 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000545/4.14, allocations: 147.8 kB / 2.324 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004596/4.14, allocations: 84.78 kB / 2.324 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.166e-05/4.14, allocations: 19.94 kB / 2.324 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/4.141, allocations: 1.477 MB / 2.325 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/4.141, allocations: 4.031 kB / 2.325 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003913/4.145, allocations: 1.357 MB / 2.326 GB, free: 131.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004354/4.146, allocations: 283.7 kB / 2.327 GB, free: 131.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/4.146, allocations: 4.062 kB / 2.327 GB, free: 131.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005909/4.147, allocations: 59.94 kB / 2.327 GB, free: 131.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/4.147, allocations: 52.7 kB / 2.327 GB, free: 131.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.995e-05/4.147, allocations: 35.97 kB / 2.327 GB, free: 131.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004715/4.147, allocations: 402.9 kB / 2.327 GB, free: 131 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.61e-07/4.147, allocations: 0 / 2.327 GB, free: 131 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001108/4.148, allocations: 351 kB / 2.328 GB, free: 130.6 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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.006726/4.155, allocations: 2.903 MB / 2.33 GB, free: 127.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00113/4.156, allocations: 0.6517 MB / 2.331 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/4.156, allocations: 0 / 2.331 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006415/4.157, allocations: 452.4 kB / 2.331 GB, free: 126.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/4.158, allocations: 219.2 kB / 2.332 GB, free: 126.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003976/4.162, allocations: 1.541 MB / 2.333 GB, free: 124.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/4.163, allocations: 1.042 MB / 2.334 GB, free: 123.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008938/4.164, allocations: 261.7 kB / 2.334 GB, free: 123.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000501/4.164, allocations: 371.3 kB / 2.335 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/4.164, allocations: 4 kB / 2.335 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0437/4.208, allocations: 23.42 MB / 2.358 GB, free: 99.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/4.208, allocations: 205.3 kB / 2.358 GB, free: 99.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/6.751, allocations: 4.031 kB / 2.358 GB, free: 99.58 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)