Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.000947/0.000947, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4877/0.4877, allocations: 90.91 MB / 99.34 MB, free: 2.199 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.488/1.488, allocations: 221.5 MB / 343.2 MB, free: 1.527 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.001103/0.001103, allocations: 98.45 kB / 416 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.78e-05/1.783e-05, allocations: 4 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1761, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.998/4.174, allocations: 1.688 GB / 2.241 GB, free: 4.469 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/4.174, allocations: 83.95 kB / 2.242 GB, free: 4.387 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.5255/4.7, allocations: 98.76 MB / 2.338 GB, free: 161.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/4.7, allocations: 4 kB / 2.338 GB, free: 161.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001351/4.7, allocations: 40 kB / 2.338 GB, free: 161.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: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.004734/4.705, allocations: 1.927 MB / 2.34 GB, free: 159.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/4.705, allocations: 8.031 kB / 2.34 GB, free: 159.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/4.717, allocations: 1.886 MB / 2.342 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003945/4.721, allocations: 1.052 MB / 2.343 GB, free: 156.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/4.722, allocations: 64 kB / 2.343 GB, free: 156.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001057/4.723, allocations: 112 kB / 2.343 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005936/4.729, allocations: 2.858 MB / 2.346 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003543/4.732, allocations: 2.169 MB / 2.348 GB, free: 150.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/4.732, allocations: 0 / 2.348 GB, free: 150.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002319/4.733, allocations: 3.984 kB / 2.348 GB, free: 150.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/4.733, allocations: 55.94 kB / 2.348 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01306/4.746, allocations: 6.388 MB / 2.354 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/4.748, allocations: 1.892 MB / 2.356 GB, free: 142.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/4.749, allocations: 1.005 MB / 2.357 GB, free: 141.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000639/4.75, allocations: 0.5074 MB / 2.357 GB, free: 140.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00159/4.751, allocations: 1.266 MB / 2.359 GB, free: 139.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=195): time 2.905e-06/4.751, allocations: 0 / 2.359 GB, free: 139.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=195): time 0.01172/4.763, allocations: 3.651 MB / 2.362 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/4.763, allocations: 253.3 kB / 2.362 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009413/4.764, allocations: 0.637 MB / 2.363 GB, free: 135 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002111/4.764, allocations: 33.7 kB / 2.363 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005047/4.765, allocations: 0.6488 MB / 2.364 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004329/4.765, allocations: 0.6002 MB / 2.364 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/4.766, allocations: 0 / 2.364 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001409/4.766, allocations: 422.7 kB / 2.365 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/4.767, allocations: 0.7655 MB / 2.366 GB, free: 132.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/4.768, allocations: 0.9423 MB / 2.366 GB, free: 131.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00864/4.777, allocations: 2.457 MB / 2.369 GB, free: 129 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/4.777, allocations: 4 kB / 2.369 GB, free: 129 MB / 0.6042 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01255/4.789, allocations: 3.683 MB / 2.372 GB, free: 125.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/4.789, allocations: 8 kB / 2.372 GB, free: 125.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/4.789, allocations: 0 / 2.372 GB, free: 125.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/4.79, allocations: 92.83 kB / 2.373 GB, free: 125.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003411/4.793, allocations: 0.5695 MB / 2.373 GB, free: 124.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/4.795, allocations: 1.457 MB / 2.375 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002868/4.798, allocations: 298.4 kB / 2.375 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002876/4.798, allocations: 79.91 kB / 2.375 GB, free: 122.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (206): * Single equations (assignments): 205 * 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.0004562/4.798, allocations: 140.6 kB / 2.375 GB, free: 122.6 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01156/4.81, allocations: 3.643 MB / 2.379 GB, free: 118.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004344/4.81, allocations: 126.4 kB / 2.379 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/4.823, allocations: 4.267 MB / 2.383 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/4.823, allocations: 20 kB / 2.383 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/4.823, allocations: 0 / 2.383 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.96e-05/4.823, allocations: 11.97 kB / 2.383 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/4.838, allocations: 6.262 MB / 2.389 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/4.838, allocations: 0 / 2.389 GB, free: 108.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003355/4.841, allocations: 0.5539 MB / 2.39 GB, free: 107.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004848/4.842, allocations: 84.78 kB / 2.39 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002599/4.842, allocations: 47.91 kB / 2.39 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/4.844, allocations: 1.48 MB / 2.391 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/4.844, allocations: 0 / 2.391 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01201/4.856, allocations: 3.843 MB / 2.395 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/4.857, allocations: 0.5298 MB / 2.395 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004666/4.857, allocations: 3.938 kB / 2.395 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00273/4.86, allocations: 231.7 kB / 2.396 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/4.86, allocations: 125.8 kB / 2.396 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002116/4.86, allocations: 83.92 kB / 2.396 GB, free: 101 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007542/4.861, allocations: 0.5304 MB / 2.396 GB, free: 100.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/4.861, allocations: 0 / 2.396 GB, free: 100.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002126/4.863, allocations: 0.5956 MB / 2.397 GB, free: 99.88 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 (210): * Single equations (assignments): 207 * 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.01367/4.877, allocations: 5.415 MB / 2.402 GB, free: 94.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003243/4.88, allocations: 2.112 MB / 2.404 GB, free: 92.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/4.88, allocations: 0 / 2.404 GB, free: 92.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001698/4.882, allocations: 1.243 MB / 2.405 GB, free: 91.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/4.884, allocations: 246.2 kB / 2.406 GB, free: 90.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006763/4.89, allocations: 3.011 MB / 2.409 GB, free: 87.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007438/4.891, allocations: 1.372 MB / 2.41 GB, free: 86.47 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003293/4.894, allocations: 0.5499 MB / 2.411 GB, free: 85.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/4.896, allocations: 0.7608 MB / 2.411 GB, free: 85.15 MB / 0.6042 GB Notification: Performance of SimCode: time 9.82e-07/4.896, allocations: 0 / 2.411 GB, free: 85.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07063/4.966, allocations: 40.94 MB / 2.451 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002362/4.967, allocations: 186.4 kB / 2.451 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.046/8.013, allocations: 0 / 2.451 GB, free: 44.11 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)