Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.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.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_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.0008434/0.0008434, allocations: 88.17 kB / 15.7 MB, free: 460 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.0008517/0.0008516, allocations: 175.5 kB / 16.58 MB, free: 6.852 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.301/1.301, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6628/0.6628, allocations: 113.7 MB / 405.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003307, allocations: 8.5 kB / 493.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1439, allocations: 77.11 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004325/0.1483, allocations: 4.06 MB / 0.5609 GB, free: 7.613 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4151/0.5634, allocations: 136.9 MB / 0.6945 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000649/0.5641, allocations: 19.88 kB / 0.6946 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004664/0.5646, allocations: 146.8 kB / 0.6947 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.5657, allocations: 434.5 kB / 0.6951 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.5674, allocations: 0.648 MB / 0.6957 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001175/0.5685, allocations: 1.237 MB / 0.697 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008503/0.5694, allocations: 0.6871 MB / 0.6976 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004557/0.5699, allocations: 382 kB / 0.698 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004589/0.5703, allocations: 421.6 kB / 0.6984 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.335e-05/0.5704, allocations: 32 kB / 0.6984 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000649/0.5711, allocations: 343.6 kB / 0.6988 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002243/0.5713, allocations: 214.9 kB / 0.699 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.5715, allocations: 233 kB / 0.6992 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.5727, allocations: 1.414 MB / 0.7006 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.5728, allocations: 4 kB / 0.7006 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5728, allocations: 0 / 0.7006 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.5728, allocations: 0 / 0.7006 GB, free: 7.586 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002253/0.575, allocations: 1.425 MB / 0.702 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.5751, allocations: 8.031 kB / 0.702 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002033/0.5753, allocations: 188.9 kB / 0.7021 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008082/0.5761, allocations: 238 kB / 0.7024 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.5772, allocations: 0.8092 MB / 0.7032 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.812e-05/0.5773, allocations: 86.41 kB / 0.7032 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.5774, allocations: 128 kB / 0.7034 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.5793, allocations: 1.194 MB / 0.7045 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.5793, allocations: 0 / 0.7045 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.5794, allocations: 52 kB / 0.7046 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.5794, allocations: 32 kB / 0.7046 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.5814, allocations: 1.285 MB / 0.7059 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004325/0.5857, allocations: 3.192 MB / 0.709 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.5871, allocations: 0.8511 MB / 0.7098 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005199/0.5876, allocations: 326.7 kB / 0.7101 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.701e-05/0.5877, allocations: 36.59 kB / 0.7102 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008374/0.5885, allocations: 0.5081 MB / 0.7107 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=87): time 2.374e-06/0.5886, allocations: 0 / 0.7107 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=87): time 0.002804/0.5914, allocations: 1.291 MB / 0.7119 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.5915, allocations: 192.9 kB / 0.7121 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008236/0.5923, allocations: 0.7275 MB / 0.7128 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.824e-05/0.5924, allocations: 45.81 kB / 0.7129 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003734/0.5928, allocations: 0.523 MB / 0.7134 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.593, allocations: 283.9 kB / 0.7136 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.593, allocations: 20 kB / 0.7137 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.5932, allocations: 334 kB / 0.714 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004789/0.5937, allocations: 265.9 kB / 0.7142 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005595/0.5943, allocations: 390.5 kB / 0.7146 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000537/0.5948, allocations: 314.9 kB / 0.7149 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5948, allocations: 7.938 kB / 0.7149 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001691/0.5965, allocations: 0.8681 MB / 0.7158 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.5966, allocations: 5.719 kB / 0.7158 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.5966, allocations: 4 kB / 0.7158 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005091/0.5971, allocations: 92.8 kB / 0.7159 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006307/0.5977, allocations: 167.7 kB / 0.716 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.5997, allocations: 1.516 MB / 0.7175 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006036/0.6003, allocations: 116 kB / 0.7176 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/0.6004, allocations: 27.98 kB / 0.7176 GB, free: 5.555 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 (96): * Single equations (assignments): 95 * 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.0004875/0.6009, allocations: 290.3 kB / 0.7179 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.601, allocations: 94.88 kB / 0.718 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/0.6033, allocations: 1.141 MB / 0.7191 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.6033, allocations: 12 kB / 0.7191 GB, free: 4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.6033, allocations: 4 kB / 0.7191 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.6033, allocations: 7.969 kB / 0.7191 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.6045, allocations: 1.059 MB / 0.7202 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6045, allocations: 0 / 0.7202 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005802/0.6051, allocations: 155.7 kB / 0.7203 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004368/0.6056, allocations: 84.77 kB / 0.7204 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.178e-05/0.6056, allocations: 23.98 kB / 0.7204 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.6073, allocations: 1.54 MB / 0.7219 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6073, allocations: 0 / 0.7219 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.6091, allocations: 0.9864 MB / 0.7229 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/0.6095, allocations: 307.5 kB / 0.7232 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.6097, allocations: 20 kB / 0.7232 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005585/0.6102, allocations: 92.94 kB / 0.7233 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.6104, allocations: 72.89 kB / 0.7234 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.847e-05/0.6104, allocations: 35.98 kB / 0.7234 GB, free: 15.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006275/0.6111, allocations: 0.5107 MB / 0.7239 GB, free: 14.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6111, allocations: 0 / 0.7239 GB, free: 14.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000871/0.612, allocations: 362.7 kB / 0.7242 GB, free: 14.53 MB / 0.545 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 (98): * Single equations (assignments): 92 * 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.003327/0.6153, allocations: 2.032 MB / 0.7262 GB, free: 12.67 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001632/0.6169, allocations: 0.851 MB / 0.7271 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.617, allocations: 0 / 0.7271 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008698/0.6178, allocations: 0.547 MB / 0.7276 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.6189, allocations: 277.6 kB / 0.7279 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.6303, allocations: 5.977 MB / 0.7337 GB, free: 4.832 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008049/0.6311, allocations: 1.11 MB / 0.7348 GB, free: 3.695 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001039/0.6322, allocations: 271.5 kB / 0.735 GB, free: 3.426 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006937/0.6329, allocations: 487.2 kB / 0.7355 GB, free: 2.953 MB / 0.545 GB Notification: Performance of SimCode: time 1.202e-06/0.6329, allocations: 0 / 0.7355 GB, free: 2.953 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1089/0.7419, allocations: 23.17 MB / 0.7581 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.7421, allocations: 284.8 kB / 0.7584 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.396/3.138, allocations: 3.625 kB / 0.7584 GB, free: 11.84 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) Environment - environmentSimulation: