Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.0008838/0.0008838, allocations: 92.62 kB / 15.7 MB, free: 472 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.001014/0.001014, allocations: 171.3 kB / 16.58 MB, free: 5.656 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.322/1.322, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6647/0.6647, allocations: 113.7 MB / 405.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.000394, allocations: 9.25 kB / 493.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1599, allocations: 77.12 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004684/0.1646, allocations: 3.717 MB / 0.5605 GB, free: 7.906 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4562/0.6208, allocations: 136.7 MB / 0.6941 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000562/0.6214, allocations: 19.94 kB / 0.6941 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004599/0.6219, allocations: 126.9 kB / 0.6942 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.6232, allocations: 417.5 kB / 0.6946 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.6248, allocations: 0.6287 MB / 0.6952 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001277/0.6261, allocations: 1.106 MB / 0.6963 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008354/0.6269, allocations: 475.7 kB / 0.6968 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006844/0.6276, allocations: 322.6 kB / 0.6971 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006717/0.6283, allocations: 366.1 kB / 0.6974 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.6285, allocations: 28 kB / 0.6974 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009003/0.6294, allocations: 335.6 kB / 0.6978 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002626/0.6297, allocations: 179.2 kB / 0.6979 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.63, allocations: 193.1 kB / 0.6981 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.6313, allocations: 1.15 MB / 0.6992 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.6313, allocations: 0 / 0.6992 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6314, allocations: 0 / 0.6992 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.6314, allocations: 0 / 0.6992 GB, free: 8.949 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.001982/0.6334, allocations: 1.213 MB / 0.7004 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.6334, allocations: 8.031 kB / 0.7004 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001494/0.6336, allocations: 139.1 kB / 0.7006 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007729/0.6343, allocations: 194.5 kB / 0.7008 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000941/0.6353, allocations: 0.707 MB / 0.7014 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.06e-05/0.6354, allocations: 69.94 kB / 0.7015 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.873e-05/0.6355, allocations: 83.98 kB / 0.7016 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.6369, allocations: 0.9144 MB / 0.7025 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.6369, allocations: 0 / 0.7025 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.417e-05/0.637, allocations: 35.98 kB / 0.7025 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.637, allocations: 20 kB / 0.7025 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.6386, allocations: 1.1 MB / 0.7036 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003421/0.642, allocations: 2.529 MB / 0.7061 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.6433, allocations: 0.7908 MB / 0.7069 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000469/0.6438, allocations: 306.7 kB / 0.7071 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.385e-05/0.6439, allocations: 28.69 kB / 0.7072 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007879/0.6447, allocations: 499 kB / 0.7076 GB, free: 104 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=80): time 2.184e-06/0.6447, allocations: 4 kB / 0.7077 GB, free: 100 kB / 0.5137 GB Notification: Performance of matching and sorting (n=80): time 0.002696/0.6474, allocations: 1.19 MB / 0.7088 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/0.6475, allocations: 196.5 kB / 0.709 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006976/0.6482, allocations: 0.6214 MB / 0.7096 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.573e-05/0.6483, allocations: 49.64 kB / 0.7097 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.6486, allocations: 400.4 kB / 0.71 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.6488, allocations: 256.2 kB / 0.7103 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.6488, allocations: 12 kB / 0.7103 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.649, allocations: 386.8 kB / 0.7107 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004414/0.6494, allocations: 245.9 kB / 0.7109 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005276/0.65, allocations: 354.6 kB / 0.7112 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/0.6505, allocations: 298.9 kB / 0.7115 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6505, allocations: 0 / 0.7115 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001564/0.6521, allocations: 0.802 MB / 0.7123 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.6521, allocations: 8 kB / 0.7123 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.6521, allocations: 3.953 kB / 0.7123 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005144/0.6526, allocations: 84.83 kB / 0.7124 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/0.6532, allocations: 155.7 kB / 0.7125 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/0.655, allocations: 1.52 MB / 0.714 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/0.6556, allocations: 96.05 kB / 0.7141 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.164e-05/0.6557, allocations: 35.97 kB / 0.7142 GB, free: 9.164 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0003815/0.6561, allocations: 258.1 kB / 0.7144 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.6562, allocations: 82.97 kB / 0.7145 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/0.6583, allocations: 1.079 MB / 0.7155 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.6583, allocations: 8.094 kB / 0.7155 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.6583, allocations: 7.984 kB / 0.7155 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.6583, allocations: 7.922 kB / 0.7156 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000967/0.6593, allocations: 0.8879 MB / 0.7164 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6593, allocations: 0 / 0.7164 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005266/0.6598, allocations: 143.8 kB / 0.7166 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004288/0.6603, allocations: 84.77 kB / 0.7166 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.213e-05/0.6603, allocations: 23.98 kB / 0.7167 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/0.6619, allocations: 1.552 MB / 0.7182 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.662, allocations: 3.984 kB / 0.7182 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.6637, allocations: 0.9317 MB / 0.7191 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003453/0.664, allocations: 279.7 kB / 0.7194 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.6641, allocations: 20 kB / 0.7194 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005308/0.6647, allocations: 91.11 kB / 0.7195 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.6648, allocations: 68.89 kB / 0.7195 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.776e-05/0.6649, allocations: 39.94 kB / 0.7196 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000519/0.6654, allocations: 451 kB / 0.72 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6654, allocations: 0 / 0.72 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007657/0.6662, allocations: 303.2 kB / 0.7203 GB, free: 2.637 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003034/0.6692, allocations: 1.957 MB / 0.7222 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001405/0.6706, allocations: 0.8039 MB / 0.723 GB, free: 32 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6707, allocations: 4 kB / 0.723 GB, free: 28 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007923/0.6715, allocations: 0.512 MB / 0.7235 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009493/0.6724, allocations: 260.3 kB / 0.7237 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008651/0.6811, allocations: 5.063 MB / 0.7287 GB, free: 10.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/0.6816, allocations: 1.02 MB / 0.7297 GB, free: 9.074 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007963/0.6824, allocations: 266.5 kB / 0.7299 GB, free: 8.809 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004916/0.6829, allocations: 379.3 kB / 0.7303 GB, free: 8.438 MB / 0.545 GB Notification: Performance of SimCode: time 9.11e-07/0.683, allocations: 0 / 0.7303 GB, free: 8.438 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03736/0.7203, allocations: 20.99 MB / 0.7508 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/0.7206, allocations: 298.9 kB / 0.7511 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/3.293, allocations: 2.344 kB / 0.7511 GB, free: 3.504 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) Environment - environmentSimulation: