Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_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.001007/0.001007, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001165/0.001165, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 223.2 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9244/0.9244, allocations: 135.3 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003061, allocations: 8.219 kB / 0.5071 GB, free: 5.02 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1415, allocations: 82.32 MB / 0.5875 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.00443/0.1459, allocations: 3.514 MB / 0.5909 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3945/0.5404, allocations: 136.7 MB / 0.7244 GB, free: 7.754 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003871/0.5408, allocations: 18.12 kB / 0.7244 GB, free: 7.746 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004316/0.5413, allocations: 121.9 kB / 0.7245 GB, free: 7.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.5423, allocations: 380.3 kB / 0.7249 GB, free: 7.469 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.5439, allocations: 0.6046 MB / 0.7254 GB, free: 7.168 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001042/0.5449, allocations: 0.9971 MB / 0.7264 GB, free: 6.676 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006682/0.5456, allocations: 453.6 kB / 0.7269 GB, free: 6.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000402/0.546, allocations: 286.2 kB / 0.7271 GB, free: 6.383 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003992/0.5464, allocations: 317.5 kB / 0.7274 GB, free: 6.234 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.065e-05/0.5465, allocations: 20.78 kB / 0.7274 GB, free: 6.234 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006459/0.5471, allocations: 334.1 kB / 0.7278 GB, free: 6.145 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.5473, allocations: 156.6 kB / 0.7279 GB, free: 6.074 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.5475, allocations: 181.5 kB / 0.7281 GB, free: 5.945 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.5487, allocations: 1.062 MB / 0.7291 GB, free: 5.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5487, allocations: 0 / 0.7291 GB, free: 5.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5487, allocations: 0 / 0.7291 GB, free: 5.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.5487, allocations: 1.844 kB / 0.7291 GB, free: 5.66 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.00193/0.5507, allocations: 1.129 MB / 0.7302 GB, free: 4.863 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.5507, allocations: 9.219 kB / 0.7302 GB, free: 4.863 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001754/0.5509, allocations: 130 kB / 0.7304 GB, free: 4.773 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008234/0.5517, allocations: 187.9 kB / 0.7305 GB, free: 4.715 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00094/0.5527, allocations: 0.6721 MB / 0.7312 GB, free: 4.277 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.413e-05/0.5528, allocations: 61.89 kB / 0.7313 GB, free: 4.246 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.5529, allocations: 76.14 kB / 0.7313 GB, free: 4.223 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.5544, allocations: 0.8564 MB / 0.7322 GB, free: 3.812 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.5544, allocations: 6.594 kB / 0.7322 GB, free: 3.809 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-05/0.5545, allocations: 30.81 kB / 0.7322 GB, free: 3.785 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.5545, allocations: 19.59 kB / 0.7322 GB, free: 3.785 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.5561, allocations: 1.059 MB / 0.7333 GB, free: 3.543 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003521/0.5597, allocations: 2.385 MB / 0.7356 GB, free: 2.199 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.561, allocations: 0.7032 MB / 0.7363 GB, free: 1.891 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000448/0.5614, allocations: 270.9 kB / 0.7365 GB, free: 1.758 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-05/0.5615, allocations: 30.3 kB / 0.7366 GB, free: 1.742 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007247/0.5622, allocations: 425.6 kB / 0.737 GB, free: 1.465 MB / 0.545 GB Notification: Performance of pre-optimization done (n=71): time 2.404e-06/0.5622, allocations: 0 / 0.737 GB, free: 1.465 MB / 0.545 GB Notification: Performance of matching and sorting (n=71): time 0.002674/0.5649, allocations: 1.068 MB / 0.738 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.565, allocations: 197.1 kB / 0.7382 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006994/0.5657, allocations: 0.577 MB / 0.7388 GB, free: 324 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.068e-05/0.5658, allocations: 40.83 kB / 0.7388 GB, free: 280 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/0.5661, allocations: 378.6 kB / 0.7392 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.5663, allocations: 233 kB / 0.7394 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.5664, allocations: 14.5 kB / 0.7394 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.5665, allocations: 374 kB / 0.7398 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003962/0.5669, allocations: 213.8 kB / 0.74 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000475/0.5674, allocations: 322.8 kB / 0.7403 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.5679, allocations: 263.1 kB / 0.7405 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5679, allocations: 0 / 0.7405 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001506/0.5694, allocations: 0.7136 MB / 0.7412 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.5695, allocations: 2.812 kB / 0.7412 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.485e-06/0.5695, allocations: 7.594 kB / 0.7412 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005261/0.57, allocations: 80.34 kB / 0.7413 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005348/0.5705, allocations: 141.1 kB / 0.7414 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/0.5724, allocations: 1.523 MB / 0.7429 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005705/0.573, allocations: 92.06 kB / 0.743 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/0.5731, allocations: 26.11 kB / 0.743 GB, free: 12.92 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (75): * Single equations (assignments): 74 * 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.0004043/0.5735, allocations: 249.2 kB / 0.7433 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.5736, allocations: 77.3 kB / 0.7433 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/0.5757, allocations: 0.972 MB / 0.7443 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.5758, allocations: 12 kB / 0.7443 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.5758, allocations: 0 / 0.7443 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.5758, allocations: 3.984 kB / 0.7443 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009866/0.5768, allocations: 0.8216 MB / 0.7451 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5768, allocations: 0 / 0.7451 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005514/0.5773, allocations: 143.8 kB / 0.7452 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004664/0.5778, allocations: 84.78 kB / 0.7453 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/0.5779, allocations: 15.98 kB / 0.7453 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001781/0.5797, allocations: 1.544 MB / 0.7469 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5797, allocations: 0 / 0.7469 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.5814, allocations: 0.8342 MB / 0.7477 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003468/0.5818, allocations: 263.8 kB / 0.7479 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.821e-05/0.5819, allocations: 16 kB / 0.7479 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004968/0.5824, allocations: 69.47 kB / 0.748 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.5825, allocations: 64.86 kB / 0.7481 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.832e-05/0.5826, allocations: 31.98 kB / 0.7481 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000583/0.5831, allocations: 423.1 kB / 0.7485 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5832, allocations: 0 / 0.7485 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009143/0.5841, allocations: 291.1 kB / 0.7488 GB, free: 6.895 MB / 0.5606 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.003142/0.5872, allocations: 1.871 MB / 0.7506 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001382/0.5886, allocations: 0.7115 MB / 0.7513 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.5886, allocations: 4 kB / 0.7513 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008018/0.5894, allocations: 488.7 kB / 0.7518 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.5905, allocations: 244 kB / 0.752 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008658/0.5991, allocations: 4.612 MB / 0.7565 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.5997, allocations: 1.003 MB / 0.7575 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008269/0.6005, allocations: 250 kB / 0.7577 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004786/0.601, allocations: 347.2 kB / 0.7581 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.601, allocations: 0 / 0.7581 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03753/0.6386, allocations: 19.58 MB / 0.7772 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/0.6388, allocations: 286.8 kB / 0.7774 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.22/2.859, allocations: 0 / 0.7774 GB, free: 9.934 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) Environment - environmentSimulation: