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.001222/0.001222, allocations: 183.3 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4983/0.4983, allocations: 91.98 MB / 108.5 MB, free: 13.11 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.551/1.551, allocations: 223.1 MB / 354.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 92.23 kB / 427.4 MB, free: 3.941 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003583, allocations: 12 kB / 0.4983 GB, free: 42.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1718, allocations: 72.3 MB / 0.5689 GB, free: 1.855 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.414/4.586, allocations: 1.689 GB / 2.257 GB, free: 159.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/4.586, allocations: 96.16 kB / 2.258 GB, free: 159.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.2511/4.838, allocations: 100 MB / 2.355 GB, free: 67.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.939e-06/4.838, allocations: 0 / 2.355 GB, free: 67.15 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002366/4.838, allocations: 40 kB / 2.355 GB, free: 67.11 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.007967/4.846, allocations: 2.079 MB / 2.357 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.997e-05/4.846, allocations: 8.031 kB / 2.357 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001162/4.847, allocations: 286.9 kB / 2.358 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01633/4.864, allocations: 1.893 MB / 2.359 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/4.866, allocations: 1.052 MB / 2.36 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.909e-05/4.866, allocations: 148 kB / 2.361 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002965/4.867, allocations: 188 kB / 2.361 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01162/4.878, allocations: 3.062 MB / 2.364 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001036/4.879, allocations: 4 kB / 2.364 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006701/4.879, allocations: 80 kB / 2.364 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.546e-05/4.879, allocations: 52 kB / 2.364 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01765/4.897, allocations: 4.176 MB / 2.368 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0197/4.917, allocations: 6.741 MB / 2.375 GB, free: 47.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008437/4.925, allocations: 2.708 MB / 2.377 GB, free: 44.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008566/4.926, allocations: 0.5074 MB / 2.378 GB, free: 43.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005051/4.931, allocations: 1.703 MB / 2.379 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=195): time 7.394e-06/4.931, allocations: 0 / 2.379 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=195): time 0.01457/4.946, allocations: 4.226 MB / 2.383 GB, free: 37.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/4.946, allocations: 253.3 kB / 2.384 GB, free: 37.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/4.948, allocations: 0.8017 MB / 2.384 GB, free: 36.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0004348/4.948, allocations: 61.7 kB / 2.385 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006897/4.949, allocations: 0.6374 MB / 2.385 GB, free: 35.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007129/4.95, allocations: 0.6313 MB / 2.386 GB, free: 35.35 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/4.95, allocations: 28 kB / 2.386 GB, free: 35.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001663/4.95, allocations: 373.9 kB / 2.386 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003789/4.954, allocations: 1.171 MB / 2.387 GB, free: 33.78 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003972/4.958, allocations: 1.36 MB / 2.389 GB, free: 32.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00399/4.962, allocations: 1.22 MB / 2.39 GB, free: 31.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/4.962, allocations: 0 / 2.39 GB, free: 31.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.009548/4.972, allocations: 2.913 MB / 2.393 GB, free: 28.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/4.972, allocations: 8 kB / 2.393 GB, free: 28.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/4.972, allocations: 3.984 kB / 2.393 GB, free: 28.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007122/4.972, allocations: 88.78 kB / 2.393 GB, free: 28.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003784/4.976, allocations: 0.5617 MB / 2.393 GB, free: 27.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/4.978, allocations: 1.54 MB / 2.395 GB, free: 25.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003499/4.982, allocations: 350.2 kB / 2.395 GB, free: 25.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004585/4.982, allocations: 87.84 kB / 2.395 GB, free: 25.46 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 () * Number of clocked 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.001706/4.984, allocations: 395.2 kB / 2.396 GB, free: 25.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007287/4.985, allocations: 138.2 kB / 2.396 GB, free: 24.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/4.996, allocations: 3.523 MB / 2.399 GB, free: 21.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.406e-05/4.997, allocations: 27.95 kB / 2.399 GB, free: 21.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/4.997, allocations: 0 / 2.399 GB, free: 21.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.178e-05/4.997, allocations: 11.95 kB / 2.399 GB, free: 21.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/5.012, allocations: 5.75 MB / 2.405 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/5.012, allocations: 0 / 2.405 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00366/5.016, allocations: 0.5538 MB / 2.405 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006064/5.016, allocations: 92.7 kB / 2.405 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003008/5.017, allocations: 63.92 kB / 2.406 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/5.019, allocations: 1.556 MB / 2.407 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/5.019, allocations: 3.984 kB / 2.407 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009748/5.028, allocations: 3.07 MB / 2.41 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001515/5.03, allocations: 0.5452 MB / 2.411 GB, free: 9.465 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005757/5.03, allocations: 40 kB / 2.411 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003145/5.034, allocations: 263.7 kB / 2.411 GB, free: 9.168 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/5.034, allocations: 129.8 kB / 2.411 GB, free: 9.043 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002338/5.034, allocations: 79.92 kB / 2.411 GB, free: 8.965 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001268/5.036, allocations: 0.6774 MB / 2.412 GB, free: 8.277 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.91e-07/5.036, allocations: 0 / 2.412 GB, free: 8.277 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002671/5.038, allocations: 0.6506 MB / 2.412 GB, free: 7.625 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) * Number of clocked states: 0 () * 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.01288/5.051, allocations: 4.643 MB / 2.417 GB, free: 3.137 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.009517/5.061, allocations: 2.964 MB / 2.42 GB, free: 168 kB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/5.061, allocations: 0 / 2.42 GB, free: 168 kB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.4305/5.491, allocations: 1.66 MB / 2.421 GB, free: 167.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003353/5.495, allocations: 282.2 kB / 2.422 GB, free: 167.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05692/5.552, allocations: 12.43 MB / 2.434 GB, free: 163.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002529/5.554, allocations: 1.373 MB / 2.435 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.008252/5.563, allocations: 0.557 MB / 2.436 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0039/5.566, allocations: 0.7603 MB / 2.436 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of SimCode: time 2.184e-06/5.567, allocations: 5.375 kB / 2.436 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1495/5.716, allocations: 47.64 MB / 2.483 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/5.716, allocations: 271.8 kB / 2.483 GB, free: 159 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.149/9.866, allocations: 0 / 2.483 GB, free: 159 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)