Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_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.001384/0.001384, 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.001589/0.001589, allocations: 177.3 kB / 15.94 MB, free: 228 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.445/1.445, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8607/0.8607, allocations: 132.2 MB / 423.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004258, allocations: 12.81 kB / 0.5033 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5216/0.5221, allocations: 81.58 MB / 0.583 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.0074/0.5295, allocations: 5.103 MB / 0.5879 GB, free: 380 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1573/0.6869, allocations: 128.4 MB / 0.7133 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.6888, allocations: 23.88 kB / 0.7133 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008855/0.6897, allocations: 110.8 kB / 0.7135 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002629/0.6923, allocations: 0.5947 MB / 0.714 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002878/0.6952, allocations: 0.9375 MB / 0.715 GB, free: 9.117 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002711/0.6979, allocations: 1.375 MB / 0.7163 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.6995, allocations: 1.183 MB / 0.7174 GB, free: 6.523 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.7006, allocations: 0.6963 MB / 0.7181 GB, free: 5.824 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008525/0.7014, allocations: 0.7695 MB / 0.7189 GB, free: 5.051 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.7016, allocations: 56 kB / 0.7189 GB, free: 4.996 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008454/0.7024, allocations: 363.6 kB / 0.7193 GB, free: 4.641 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003162/0.7028, allocations: 346.5 kB / 0.7196 GB, free: 4.301 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000274/0.703, allocations: 360.5 kB / 0.72 GB, free: 3.941 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.7053, allocations: 2.4 MB / 0.7223 GB, free: 1.535 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.7053, allocations: 0 / 0.7223 GB, free: 1.535 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.825e-06/0.7053, allocations: 0 / 0.7223 GB, free: 1.535 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.221e-05/0.7053, allocations: 0 / 0.7223 GB, free: 1.535 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.004426/0.7098, allocations: 2.126 MB / 0.7244 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.7098, allocations: 8.031 kB / 0.7244 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003499/0.7102, allocations: 304.1 kB / 0.7247 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01502/0.7252, allocations: 2.279 MB / 0.7269 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/0.728, allocations: 1.157 MB / 0.728 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.7281, allocations: 164.3 kB / 0.7282 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003471/0.7284, allocations: 216 kB / 0.7284 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008162/0.7366, allocations: 3.197 MB / 0.7315 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.858e-05/0.7367, allocations: 3.938 kB / 0.7315 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002515/0.7369, allocations: 88 kB / 0.7316 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/0.737, allocations: 52 kB / 0.7317 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01208/0.7491, allocations: 4.232 MB / 0.7358 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01574/0.7649, allocations: 7.05 MB / 0.7427 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008078/0.773, allocations: 2.701 MB / 0.7453 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000746/0.7738, allocations: 0.4996 MB / 0.7458 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004598/0.7784, allocations: 1.695 MB / 0.7474 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=195): time 3.537e-06/0.7784, allocations: 3.938 kB / 0.7475 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of matching and sorting (n=195): time 0.0141/0.7925, allocations: 4.218 MB / 0.7516 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.7927, allocations: 201.9 kB / 0.7518 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.7943, allocations: 0.8466 MB / 0.7526 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003367/0.7947, allocations: 61.7 kB / 0.7527 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008/0.7955, allocations: 0.7113 MB / 0.7533 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008017/0.7963, allocations: 0.6352 MB / 0.754 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.7964, allocations: 39.94 kB / 0.754 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.7967, allocations: 365.9 kB / 0.7544 GB, free: 140 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003982/0.8006, allocations: 1.171 MB / 0.7555 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003975/0.8046, allocations: 1.355 MB / 0.7568 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00395/0.8086, allocations: 1.216 MB / 0.758 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.8086, allocations: 4 kB / 0.758 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.009392/0.818, allocations: 2.909 MB / 0.7609 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/0.8181, allocations: 11.98 kB / 0.7609 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.8181, allocations: 3.953 kB / 0.7609 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005971/0.8187, allocations: 80.84 kB / 0.7609 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003507/0.8223, allocations: 0.5772 MB / 0.7615 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.8244, allocations: 1.528 MB / 0.763 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/0.8275, allocations: 354.1 kB / 0.7633 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002456/0.8278, allocations: 87.89 kB / 0.7634 GB, free: 6.664 MB / 0.5919 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.001092/0.8289, allocations: 401.5 kB / 0.7638 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003688/0.8293, allocations: 138.3 kB / 0.7639 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/0.8405, allocations: 3.523 MB / 0.7674 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.837e-05/0.8406, allocations: 20 kB / 0.7674 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.8406, allocations: 0 / 0.7674 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-05/0.8406, allocations: 12.06 kB / 0.7674 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/0.856, allocations: 5.773 MB / 0.773 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/0.8561, allocations: 3.984 kB / 0.773 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003609/0.8597, allocations: 0.5538 MB / 0.7736 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006128/0.8603, allocations: 96.69 kB / 0.7737 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003988/0.8608, allocations: 63.92 kB / 0.7737 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003013/0.8638, allocations: 1.555 MB / 0.7753 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.8638, allocations: 3.984 kB / 0.7753 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/0.8764, allocations: 3.063 MB / 0.7783 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001673/0.8781, allocations: 0.5412 MB / 0.7788 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003859/0.8785, allocations: 39.95 kB / 0.7788 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002705/0.8812, allocations: 260.8 kB / 0.7791 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003032/0.8816, allocations: 129.8 kB / 0.7792 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002151/0.8818, allocations: 83.91 kB / 0.7793 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00144/0.8832, allocations: 0.631 MB / 0.7799 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8832, allocations: 0 / 0.7799 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00209/0.8853, allocations: 0.5919 MB / 0.7805 GB, free: 4.914 MB / 0.6075 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.01332/0.8987, allocations: 4.16 MB / 0.7845 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01158/0.9103, allocations: 2.96 MB / 0.7874 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.9103, allocations: 256 / 0.7874 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.006617/0.917, allocations: 1.673 MB / 0.7891 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/0.9191, allocations: 281.3 kB / 0.7893 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03723/0.9564, allocations: 12.76 MB / 0.8018 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.9575, allocations: 1.408 MB / 0.8032 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003574/0.9611, allocations: 0.5507 MB / 0.8037 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001643/0.9628, allocations: 0.8076 MB / 0.8045 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of SimCode: time 1.282e-06/0.9628, allocations: 0 / 0.8045 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4925/1.455, allocations: 38.67 MB / 0.8422 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/1.455, allocations: 257.8 kB / 0.8425 GB, free: 205 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.708/5.164, allocations: 1.875 kB / 0.8425 GB, free: 205 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) Environment - environmentSimulation: