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.0008049/0.0008052, allocations: 92.08 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 177.7 kB / 16.58 MB, free: 6.848 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.333/1.333, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6798/0.6798, allocations: 113.7 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003289, allocations: 8 kB / 493.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1435, allocations: 77.12 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006877/0.1504, allocations: 5.557 MB / 0.5623 GB, free: 6.062 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4381/0.5885, allocations: 137.8 MB / 0.6969 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.5902, allocations: 23.88 kB / 0.6969 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.5912, allocations: 182.3 kB / 0.6971 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002545/0.5938, allocations: 0.5486 MB / 0.6976 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003085/0.5969, allocations: 0.9792 MB / 0.6986 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00365/0.6005, allocations: 2.266 MB / 0.7008 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002081/0.6026, allocations: 1.195 MB / 0.7019 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.6042, allocations: 0.735 MB / 0.7027 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.6058, allocations: 0.8823 MB / 0.7035 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004939/0.6063, allocations: 67.98 kB / 0.7036 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.6076, allocations: 391.7 kB / 0.704 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006157/0.6082, allocations: 386.2 kB / 0.7043 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005952/0.6089, allocations: 388.5 kB / 0.7047 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003133/0.612, allocations: 2.595 MB / 0.7072 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.612, allocations: 0 / 0.7072 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.754e-06/0.612, allocations: 0 / 0.7072 GB, free: 440 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001136/0.6121, allocations: 3.938 kB / 0.7072 GB, free: 436 kB / 0.5137 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.006104/0.6183, allocations: 2.313 MB / 0.7095 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.6183, allocations: 8.031 kB / 0.7095 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009184/0.6192, allocations: 312.7 kB / 0.7098 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01406/0.6333, allocations: 2.299 MB / 0.712 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00363/0.637, allocations: 1.231 MB / 0.7132 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002431/0.6373, allocations: 168.5 kB / 0.7134 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009433/0.6382, allocations: 216 kB / 0.7136 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01136/0.6496, allocations: 3.337 MB / 0.7169 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.998e-05/0.6497, allocations: 0 / 0.7169 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007932/0.6505, allocations: 92 kB / 0.717 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-05/0.6506, allocations: 59.98 kB / 0.717 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01368/0.6643, allocations: 4.326 MB / 0.7212 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02032/0.6847, allocations: 7.36 MB / 0.7284 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008536/0.6933, allocations: 2.899 MB / 0.7313 GB, free: 7.465 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004087/0.6974, allocations: 1.489 MB / 0.7327 GB, free: 5.977 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008088/0.6983, allocations: 0.5074 MB / 0.7332 GB, free: 5.375 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004829/0.7031, allocations: 1.852 MB / 0.735 GB, free: 3.504 MB / 0.545 GB Notification: Performance of pre-optimization done (n=213): time 4.9e-06/0.7032, allocations: 3.938 kB / 0.735 GB, free: 3.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=213): time 0.0135/0.7167, allocations: 4.474 MB / 0.7394 GB, free: 15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.7168, allocations: 209.9 kB / 0.7396 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.7184, allocations: 0.9373 MB / 0.7405 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002466/0.7186, allocations: 61.7 kB / 0.7406 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000675/0.7193, allocations: 0.7504 MB / 0.7413 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007168/0.7201, allocations: 0.6737 MB / 0.742 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.7203, allocations: 39.94 kB / 0.742 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.7204, allocations: 377.9 kB / 0.7424 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003629/0.7241, allocations: 1.241 MB / 0.7436 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003785/0.7279, allocations: 1.439 MB / 0.745 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003758/0.7316, allocations: 1.271 MB / 0.7462 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.7317, allocations: 0 / 0.7462 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.008767/0.7404, allocations: 3.085 MB / 0.7492 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.7405, allocations: 4 kB / 0.7492 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.7405, allocations: 4 kB / 0.7492 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005319/0.7411, allocations: 92.77 kB / 0.7493 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003375/0.7445, allocations: 0.6006 MB / 0.7499 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.7467, allocations: 1.52 MB / 0.7514 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002851/0.7495, allocations: 383 kB / 0.7518 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003272/0.7499, allocations: 95.89 kB / 0.7518 GB, free: 1.961 MB / 0.5606 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 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * 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 (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.001265/0.7512, allocations: 443.7 kB / 0.7523 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000476/0.7516, allocations: 154.1 kB / 0.7524 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/0.7626, allocations: 3.748 MB / 0.7561 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.426e-05/0.7627, allocations: 24 kB / 0.7561 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.7627, allocations: 0 / 0.7561 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.427e-05/0.7627, allocations: 11.95 kB / 0.7561 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/0.7662, allocations: 2.452 MB / 0.7585 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.396e-05/0.7663, allocations: 3.953 kB / 0.7585 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0032/0.7695, allocations: 0.5733 MB / 0.7591 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004957/0.77, allocations: 84.78 kB / 0.7591 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002649/0.7703, allocations: 79.91 kB / 0.7592 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.7721, allocations: 1.541 MB / 0.7607 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7721, allocations: 0 / 0.7607 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00934/0.7815, allocations: 3.23 MB / 0.7639 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/0.7827, allocations: 0.5723 MB / 0.7644 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000481/0.7832, allocations: 44 kB / 0.7645 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002617/0.7858, allocations: 295.7 kB / 0.7648 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002988/0.7862, allocations: 149.8 kB / 0.7649 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002525/0.7864, allocations: 91.91 kB / 0.765 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001238/0.7877, allocations: 0.6919 MB / 0.7657 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7877, allocations: 0 / 0.7657 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001949/0.7896, allocations: 0.6349 MB / 0.7663 GB, free: 2.891 MB / 0.5762 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 (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.01113/0.8008, allocations: 4.345 MB / 0.7705 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008827/0.8097, allocations: 3.135 MB / 0.7736 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.8097, allocations: 8.25 kB / 0.7736 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004632/0.8143, allocations: 1.759 MB / 0.7753 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/0.8163, allocations: 343.5 kB / 0.7757 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03048/0.8468, allocations: 12.88 MB / 0.7882 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/0.8482, allocations: 1.43 MB / 0.7896 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00414/0.8524, allocations: 0.5715 MB / 0.7902 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001933/0.8543, allocations: 0.8584 MB / 0.791 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of SimCode: time 8.61e-07/0.8543, allocations: 0 / 0.791 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3472/1.202, allocations: 41.73 MB / 0.8318 GB, free: 207.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/1.202, allocations: 280.8 kB / 0.832 GB, free: 207.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.895/4.097, allocations: 3.828 kB / 0.832 GB, free: 207.6 MB / 0.6231 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) Environment - environmentSimulation: