Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.DiffusePerez,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_dev_IDEAS_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.001026/0.001026, 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.001084/0.001084, 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.354/1.354, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9373/0.9373, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003298, allocations: 8 kB / 0.5069 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1547, allocations: 82.31 MB / 0.5873 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005787/0.1606, allocations: 5.093 MB / 0.5923 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4183/0.5789, allocations: 128.4 MB / 0.7176 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.58, allocations: 22.34 kB / 0.7177 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004686/0.5805, allocations: 116.6 kB / 0.7178 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.5824, allocations: 0.5872 MB / 0.7183 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002964/0.5854, allocations: 0.9372 MB / 0.7193 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002574/0.588, allocations: 1.375 MB / 0.7206 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.5897, allocations: 1.172 MB / 0.7217 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.5911, allocations: 0.7032 MB / 0.7224 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.5925, allocations: 0.7731 MB / 0.7232 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002487/0.5927, allocations: 56.84 kB / 0.7232 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.5943, allocations: 355.6 kB / 0.7236 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005268/0.5949, allocations: 352.5 kB / 0.7239 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004986/0.5954, allocations: 357.2 kB / 0.7243 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00373/0.5991, allocations: 2.4 MB / 0.7266 GB, free: 9.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.5992, allocations: 0 / 0.7266 GB, free: 9.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5992, allocations: 0 / 0.7266 GB, free: 9.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.093e-05/0.5993, allocations: 3.938 kB / 0.7266 GB, free: 9.266 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.005679/0.6049, allocations: 2.122 MB / 0.7287 GB, free: 8.031 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.605, allocations: 9.625 kB / 0.7287 GB, free: 8.031 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000503/0.6055, allocations: 303.9 kB / 0.729 GB, free: 7.844 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01573/0.6213, allocations: 2.282 MB / 0.7312 GB, free: 7.629 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003188/0.6245, allocations: 1.163 MB / 0.7323 GB, free: 6.672 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.6246, allocations: 160.1 kB / 0.7325 GB, free: 6.598 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003994/0.625, allocations: 211.5 kB / 0.7327 GB, free: 6.527 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009126/0.6342, allocations: 3.198 MB / 0.7358 GB, free: 3.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.401e-05/0.6343, allocations: 0 / 0.7358 GB, free: 3.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002985/0.6346, allocations: 95.94 kB / 0.7359 GB, free: 3.727 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/0.6346, allocations: 52 kB / 0.736 GB, free: 3.676 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01421/0.6488, allocations: 4.228 MB / 0.7401 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01805/0.6669, allocations: 7.048 MB / 0.747 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008871/0.6759, allocations: 2.694 MB / 0.7496 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009415/0.6768, allocations: 0.5074 MB / 0.7501 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005463/0.6823, allocations: 1.695 MB / 0.7517 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=195): time 3.877e-06/0.6823, allocations: 0 / 0.7517 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=195): time 0.01536/0.6977, allocations: 4.218 MB / 0.7559 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/0.6979, allocations: 209.9 kB / 0.7561 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.6994, allocations: 0.8505 MB / 0.7569 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003018/0.6997, allocations: 61.7 kB / 0.757 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006906/0.7004, allocations: 0.7035 MB / 0.7576 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006996/0.7011, allocations: 0.6352 MB / 0.7583 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.7013, allocations: 28 kB / 0.7583 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.7015, allocations: 369.9 kB / 0.7586 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004388/0.7059, allocations: 1.175 MB / 0.7598 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00459/0.7105, allocations: 1.355 MB / 0.7611 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004427/0.7149, allocations: 1.224 MB / 0.7623 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.7149, allocations: 3.938 kB / 0.7623 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.01021/0.7252, allocations: 2.917 MB / 0.7652 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.7252, allocations: 7.953 kB / 0.7652 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.7253, allocations: 9 kB / 0.7652 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006363/0.7259, allocations: 80.84 kB / 0.7653 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003909/0.7298, allocations: 0.5695 MB / 0.7658 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/0.7321, allocations: 1.537 MB / 0.7673 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003411/0.7356, allocations: 348.4 kB / 0.7676 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002949/0.7359, allocations: 87.89 kB / 0.7677 GB, free: 2.633 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (207): * Single equations (assignments): 206 * 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.001351/0.7372, allocations: 401.5 kB / 0.7681 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/0.7376, allocations: 142.3 kB / 0.7682 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/0.7494, allocations: 3.519 MB / 0.7717 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/0.7495, allocations: 20 kB / 0.7717 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.7495, allocations: 0 / 0.7717 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.62e-05/0.7495, allocations: 15.94 kB / 0.7717 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/0.7639, allocations: 5.78 MB / 0.7774 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.7639, allocations: 0 / 0.7774 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003682/0.7676, allocations: 0.5461 MB / 0.7779 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005361/0.7682, allocations: 88.77 kB / 0.778 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002311/0.7684, allocations: 71.92 kB / 0.778 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.7703, allocations: 1.555 MB / 0.7796 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.7704, allocations: 7.984 kB / 0.7796 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/0.781, allocations: 3.067 MB / 0.7826 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/0.7823, allocations: 0.5373 MB / 0.7831 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003556/0.7827, allocations: 39.95 kB / 0.7831 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002947/0.7856, allocations: 270 kB / 0.7834 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002952/0.7859, allocations: 117.8 kB / 0.7835 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002148/0.7862, allocations: 87.91 kB / 0.7836 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009898/0.7872, allocations: 0.6349 MB / 0.7842 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7872, allocations: 4 kB / 0.7842 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001908/0.7891, allocations: 0.5919 MB / 0.7848 GB, free: 0.8789 MB / 0.5919 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 207 * 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.01209/0.8012, allocations: 4.147 MB / 0.7888 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01043/0.8117, allocations: 2.96 MB / 0.7917 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.8117, allocations: 0 / 0.7917 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.005181/0.8169, allocations: 1.673 MB / 0.7934 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.8186, allocations: 288.3 kB / 0.7936 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03187/0.8505, allocations: 12.76 MB / 0.8061 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.8515, allocations: 1.408 MB / 0.8075 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00365/0.8552, allocations: 0.5468 MB / 0.808 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/0.8567, allocations: 0.8037 MB / 0.8088 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of SimCode: time 7.72e-07/0.8567, allocations: 0 / 0.8088 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06889/0.9256, allocations: 38.68 MB / 0.8466 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/0.9259, allocations: 267.3 kB / 0.8468 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.048/3.974, allocations: 7.438 kB / 0.8468 GB, free: 1.438 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) Environment - environmentSimulation: