Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_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.001637/0.001637, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00177/0.00177, allocations: 177.3 kB / 15.95 MB, free: 216 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.986/1.986, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.103/1.103, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003497, allocations: 8 kB / 0.5069 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1496, allocations: 82.32 MB / 0.5873 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004518/0.1542, allocations: 3.779 MB / 0.591 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3898/0.544, allocations: 127.6 MB / 0.7156 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007872/0.5448, allocations: 18.69 kB / 0.7156 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.5453, allocations: 77.59 kB / 0.7156 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.5471, allocations: 486.4 kB / 0.7161 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.5491, allocations: 0.6258 MB / 0.7167 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001389/0.5505, allocations: 0.8126 MB / 0.7175 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009307/0.5514, allocations: 0.6873 MB / 0.7182 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005779/0.552, allocations: 344.3 kB / 0.7185 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004842/0.5525, allocations: 352.6 kB / 0.7188 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.58e-05/0.5526, allocations: 23.81 kB / 0.7189 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008278/0.5534, allocations: 303.4 kB / 0.7192 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002215/0.5537, allocations: 193.6 kB / 0.7193 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.5539, allocations: 219.1 kB / 0.7196 GB, free: 12.69 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.5556, allocations: 1.321 MB / 0.7208 GB, free: 12.36 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.5556, allocations: 0.5625 kB / 0.7208 GB, free: 12.36 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5556, allocations: 0 / 0.7208 GB, free: 12.36 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.164e-05/0.5557, allocations: 4 kB / 0.7209 GB, free: 12.35 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002823/0.5585, allocations: 1.341 MB / 0.7222 GB, free: 11.44 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.5585, allocations: 13.16 kB / 0.7222 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002911/0.5588, allocations: 175.2 kB / 0.7223 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.5599, allocations: 224.8 kB / 0.7226 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.5615, allocations: 0.78 MB / 0.7233 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.75e-05/0.5616, allocations: 84.92 kB / 0.7234 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.5617, allocations: 119 kB / 0.7235 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.5639, allocations: 1.121 MB / 0.7246 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.5639, allocations: 0.75 kB / 0.7246 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.564, allocations: 48.44 kB / 0.7247 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-05/0.5641, allocations: 32.02 kB / 0.7247 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002426/0.5665, allocations: 1.228 MB / 0.7259 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005581/0.5721, allocations: 3.061 MB / 0.7289 GB, free: 8.133 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.5738, allocations: 0.7725 MB / 0.7296 GB, free: 7.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.293e-05/0.5739, allocations: 33.14 kB / 0.7297 GB, free: 7.828 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009464/0.5749, allocations: 453.9 kB / 0.7301 GB, free: 7.633 MB / 0.545 GB Notification: Performance of pre-optimization done (n=78): time 2.554e-06/0.5749, allocations: 4 kB / 0.7301 GB, free: 7.629 MB / 0.545 GB Notification: Performance of matching and sorting (n=78): time 0.002917/0.5778, allocations: 1.139 MB / 0.7312 GB, free: 7.152 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/0.578, allocations: 195.6 kB / 0.7314 GB, free: 6.926 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.579, allocations: 0.687 MB / 0.7321 GB, free: 6.625 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.987e-05/0.5791, allocations: 40.98 kB / 0.7321 GB, free: 6.582 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005065/0.5796, allocations: 0.495 MB / 0.7326 GB, free: 6.191 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000262/0.5798, allocations: 258.2 kB / 0.7328 GB, free: 5.988 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.5799, allocations: 18.91 kB / 0.7329 GB, free: 5.973 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.5801, allocations: 333.4 kB / 0.7332 GB, free: 5.656 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004333/0.5805, allocations: 237.1 kB / 0.7334 GB, free: 5.578 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000521/0.581, allocations: 343.3 kB / 0.7337 GB, free: 5.398 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005191/0.5816, allocations: 294.8 kB / 0.734 GB, free: 5.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5816, allocations: 4 kB / 0.734 GB, free: 5.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00173/0.5833, allocations: 0.7998 MB / 0.7348 GB, free: 4.664 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.5833, allocations: 4 kB / 0.7348 GB, free: 4.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5833, allocations: 3.953 kB / 0.7348 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005939/0.5839, allocations: 87.36 kB / 0.7349 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006341/0.5846, allocations: 149.2 kB / 0.735 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.5866, allocations: 1.53 MB / 0.7365 GB, free: 2.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000641/0.5872, allocations: 86.86 kB / 0.7366 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.944e-05/0.5873, allocations: 36.41 kB / 0.7366 GB, free: 2.758 MB / 0.545 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 (84): * Single equations (assignments): 83 * 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.0005525/0.5879, allocations: 274.8 kB / 0.7369 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.588, allocations: 90.88 kB / 0.737 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/0.5903, allocations: 1.037 MB / 0.738 GB, free: 1.496 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.5903, allocations: 8 kB / 0.738 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.5903, allocations: 0 / 0.738 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.5903, allocations: 3.984 kB / 0.738 GB, free: 1.484 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.5916, allocations: 0.9855 MB / 0.739 GB, free: 460 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.5916, allocations: 4 kB / 0.739 GB, free: 456 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006123/0.5922, allocations: 151.7 kB / 0.7391 GB, free: 304 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004999/0.5927, allocations: 85 kB / 0.7392 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.031e-05/0.5928, allocations: 23.98 kB / 0.7392 GB, free: 192 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.5946, allocations: 1.564 MB / 0.7407 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5946, allocations: 0 / 0.7407 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.5964, allocations: 0.8926 MB / 0.7416 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004155/0.5968, allocations: 287.6 kB / 0.7419 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.597, allocations: 16 kB / 0.7419 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005776/0.5975, allocations: 71.94 kB / 0.742 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.5977, allocations: 60.86 kB / 0.742 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-05/0.5977, allocations: 39.92 kB / 0.7421 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006271/0.5984, allocations: 491 kB / 0.7425 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5984, allocations: 0 / 0.7425 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009234/0.5993, allocations: 334.9 kB / 0.7429 GB, free: 12.28 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 (89): * Single equations (assignments): 86 * 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.003555/0.6029, allocations: 1.928 MB / 0.7447 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001559/0.6045, allocations: 0.7718 MB / 0.7455 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.6045, allocations: 0 / 0.7455 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008636/0.6053, allocations: 0.5048 MB / 0.746 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.6067, allocations: 249.3 kB / 0.7462 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.6177, allocations: 5.919 MB / 0.752 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006331/0.6183, allocations: 1.109 MB / 0.7531 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009118/0.6192, allocations: 262.8 kB / 0.7533 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006/0.6199, allocations: 455.2 kB / 0.7538 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.6199, allocations: 0 / 0.7538 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07025/0.6901, allocations: 21.73 MB / 0.775 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004089/0.6906, allocations: 271.8 kB / 0.7753 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/3.052, allocations: 3.375 kB / 0.7753 GB, free: 11.38 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) Environment - environmentSimulation: