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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 107.2 kB / 16.4 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000972/0.000972, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.223/1.223, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6683/0.6683, allocations: 115.3 MB / 406.5 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 64.27 kB / 0.5572 GB, free: 32.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1243, allocations: 76.18 MB / 0.6316 GB, free: 5.082 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008482/0.1329, allocations: 8.403 MB / 0.6398 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4333/0.5662, allocations: 151.8 MB / 0.788 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009552/0.5672, allocations: 23.44 kB / 0.7881 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006823/0.5679, allocations: 329.2 kB / 0.7884 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.5699, allocations: 0.8428 MB / 0.7892 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002207/0.5721, allocations: 1.392 MB / 0.7906 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002407/0.5745, allocations: 2.993 MB / 0.7935 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.576, allocations: 1.493 MB / 0.7949 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.5772, allocations: 1.202 MB / 0.7961 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.5784, allocations: 1.345 MB / 0.7974 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003119/0.5787, allocations: 328.9 kB / 0.7977 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009422/0.5797, allocations: 0.7067 MB / 0.7984 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004152/0.5801, allocations: 0.6958 MB / 0.7991 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008688/0.581, allocations: 1.338 MB / 0.8004 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00366/0.5847, allocations: 3.662 MB / 0.804 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5847, allocations: 0 / 0.804 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.989e-06/0.5847, allocations: 2.375 kB / 0.804 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.038e-05/0.5848, allocations: 4.594 kB / 0.804 GB, free: 10.34 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005365/0.5901, allocations: 2.838 MB / 0.8068 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.5902, allocations: 10.28 kB / 0.8068 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003091/0.5905, allocations: 315.4 kB / 0.8071 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01414/0.6046, allocations: 2.111 MB / 0.8091 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/0.6071, allocations: 1.294 MB / 0.8104 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.6073, allocations: 173.7 kB / 0.8106 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003391/0.6076, allocations: 218.9 kB / 0.8108 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007278/0.6149, allocations: 3.28 MB / 0.814 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/0.615, allocations: 0 / 0.814 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/0.6152, allocations: 95.12 kB / 0.8141 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/0.6153, allocations: 53.03 kB / 0.8141 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/0.626, allocations: 4.198 MB / 0.8182 GB, free: 2.352 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01506/0.641, allocations: 8.035 MB / 0.8261 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007866/0.6489, allocations: 2.882 MB / 0.8289 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003898/0.6529, allocations: 1.491 MB / 0.8303 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007119/0.6536, allocations: 0.5056 MB / 0.8308 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004658/0.6583, allocations: 1.85 MB / 0.8326 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=213): time 5.901e-06/0.6583, allocations: 4.094 kB / 0.8326 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=213): time 0.01357/0.6719, allocations: 4.466 MB / 0.837 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.672, allocations: 205.9 kB / 0.8372 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.6735, allocations: 0.9451 MB / 0.8381 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002109/0.6737, allocations: 65.7 kB / 0.8382 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000599/0.6744, allocations: 0.7466 MB / 0.8389 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006186/0.675, allocations: 0.6793 MB / 0.8396 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007371/0.6757, allocations: 375.3 kB / 0.8399 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.578e-05/0.6758, allocations: 309 kB / 0.8402 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003789/0.6796, allocations: 1.234 MB / 0.8414 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003949/0.6836, allocations: 1.433 MB / 0.8428 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007523/0.6911, allocations: 2.587 MB / 0.8454 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.6911, allocations: 4.875 kB / 0.8454 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.009042/0.7002, allocations: 3.08 MB / 0.8484 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.7002, allocations: 8.109 kB / 0.8484 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.7003, allocations: 3.938 kB / 0.8484 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005827/0.7008, allocations: 84.84 kB / 0.8485 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003679/0.7045, allocations: 0.5967 MB / 0.8491 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/0.7068, allocations: 1.638 MB / 0.8507 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003234/0.71, allocations: 366.1 kB / 0.851 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003443/0.7104, allocations: 95.89 kB / 0.8511 GB, free: 3.859 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001054/0.7114, allocations: 431.7 kB / 0.8515 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000548/0.712, allocations: 154.1 kB / 0.8517 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/0.7226, allocations: 3.714 MB / 0.8553 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/0.7226, allocations: 24 kB / 0.8553 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.7227, allocations: 0 / 0.8553 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.958e-05/0.7227, allocations: 11.95 kB / 0.8553 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/0.7256, allocations: 2.453 MB / 0.8577 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.7256, allocations: 0 / 0.8577 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00329/0.7289, allocations: 0.5616 MB / 0.8583 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000435/0.7294, allocations: 80.72 kB / 0.8583 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002105/0.7296, allocations: 79.66 kB / 0.8584 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.7314, allocations: 1.662 MB / 0.86 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7314, allocations: 0 / 0.86 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009112/0.7405, allocations: 3.218 MB / 0.8632 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008776/0.7414, allocations: 0.5413 MB / 0.8637 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003597/0.7418, allocations: 55.78 kB / 0.8638 GB, free: 6.688 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002672/0.7445, allocations: 267.7 kB / 0.864 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002603/0.7447, allocations: 149.8 kB / 0.8642 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002037/0.7449, allocations: 91.91 kB / 0.8642 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009041/0.7458, allocations: 0.7036 MB / 0.8649 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7459, allocations: 0 / 0.8649 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001573/0.7474, allocations: 0.6661 MB / 0.8656 GB, free: 4.812 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01047/0.7579, allocations: 4.336 MB / 0.8698 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008716/0.7666, allocations: 3.128 MB / 0.8729 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.7667, allocations: 3.125 kB / 0.8729 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004411/0.7711, allocations: 1.759 MB / 0.8746 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.7729, allocations: 392.3 kB / 0.875 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03708/0.81, allocations: 15.84 MB / 0.8904 GB, free: 11.34 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.8111, allocations: 1.43 MB / 0.8918 GB, free: 9.867 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002826/0.8139, allocations: 0.5717 MB / 0.8924 GB, free: 9.289 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001655/0.8156, allocations: 0.8857 MB / 0.8932 GB, free: 8.402 MB / 0.67 GB Notification: Performance of SimCode: time 8.01e-07/0.8156, allocations: 4 kB / 0.8933 GB, free: 8.398 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07775/0.8934, allocations: 43.76 MB / 0.936 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.69, allocations: 4.062 kB / 0.936 GB, free: 12.97 MB / 0.7169 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/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)