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.001028/0.001028, allocations: 99.08 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.001336/0.001336, 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.354/1.354, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9622/0.9622, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.0004038, allocations: 8.531 kB / 0.5069 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1697, allocations: 82.33 MB / 0.5873 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004476/0.1742, allocations: 3.448 MB / 0.5907 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5347/0.709, allocations: 127.4 MB / 0.7151 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008676/0.7099, allocations: 13.47 kB / 0.7151 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004281/0.7104, allocations: 71.02 kB / 0.7152 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.7123, allocations: 457 kB / 0.7156 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.7154, allocations: 0.601 MB / 0.7162 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00217/0.7175, allocations: 0.7326 MB / 0.7169 GB, free: 14.17 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009261/0.7185, allocations: 454.3 kB / 0.7173 GB, free: 14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007475/0.7192, allocations: 298.8 kB / 0.7176 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005628/0.7198, allocations: 285.5 kB / 0.7179 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.784e-05/0.7199, allocations: 21.09 kB / 0.7179 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.721, allocations: 305.2 kB / 0.7182 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002247/0.7213, allocations: 156.2 kB / 0.7184 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.7215, allocations: 181.2 kB / 0.7185 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001772/0.7233, allocations: 1.055 MB / 0.7196 GB, free: 13.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.7233, allocations: 0 / 0.7196 GB, free: 13.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.766e-06/0.7233, allocations: 5.094 kB / 0.7196 GB, free: 13.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.963e-05/0.7233, allocations: 0 / 0.7196 GB, free: 13.18 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.002551/0.7259, allocations: 1.131 MB / 0.7207 GB, free: 12.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.7259, allocations: 9.859 kB / 0.7207 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002184/0.7262, allocations: 129.3 kB / 0.7208 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.7272, allocations: 186.7 kB / 0.721 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.7285, allocations: 0.6735 MB / 0.7216 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.258e-05/0.7286, allocations: 65 kB / 0.7217 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.7287, allocations: 76.2 kB / 0.7218 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.7306, allocations: 0.8437 MB / 0.7226 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.7306, allocations: 0 / 0.7226 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.358e-05/0.7307, allocations: 41.06 kB / 0.7226 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.7307, allocations: 18.44 kB / 0.7226 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.7327, allocations: 1.054 MB / 0.7237 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004816/0.7375, allocations: 2.383 MB / 0.726 GB, free: 9.723 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.739, allocations: 0.7069 MB / 0.7267 GB, free: 9.457 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.7392, allocations: 32.69 kB / 0.7267 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001093/0.7403, allocations: 422.2 kB / 0.7271 GB, free: 9.262 MB / 0.545 GB Notification: Performance of pre-optimization done (n=71): time 7.043e-06/0.7403, allocations: 0 / 0.7271 GB, free: 9.262 MB / 0.545 GB Notification: Performance of matching and sorting (n=71): time 0.004064/0.7444, allocations: 1.071 MB / 0.7282 GB, free: 8.812 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/0.7445, allocations: 193.2 kB / 0.7284 GB, free: 8.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.7462, allocations: 0.5799 MB / 0.7289 GB, free: 8.328 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.7464, allocations: 39.02 kB / 0.729 GB, free: 8.289 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005739/0.747, allocations: 376.8 kB / 0.7293 GB, free: 7.992 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/0.7473, allocations: 237.1 kB / 0.7295 GB, free: 7.805 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.7473, allocations: 10.81 kB / 0.7296 GB, free: 7.797 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002739/0.7476, allocations: 382.1 kB / 0.7299 GB, free: 7.453 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005401/0.7482, allocations: 208.4 kB / 0.7301 GB, free: 7.383 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006627/0.7488, allocations: 322.6 kB / 0.7304 GB, free: 7.211 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005414/0.7494, allocations: 261.2 kB / 0.7307 GB, free: 7.105 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.7494, allocations: 0 / 0.7307 GB, free: 7.105 MB / 0.545 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00192/0.7513, allocations: 0.7182 MB / 0.7314 GB, free: 6.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.7514, allocations: 9.672 kB / 0.7314 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.7514, allocations: 0 / 0.7314 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006483/0.752, allocations: 83.23 kB / 0.7315 GB, free: 6.797 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006491/0.7527, allocations: 136.4 kB / 0.7316 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/0.7553, allocations: 1.531 MB / 0.7331 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009273/0.7562, allocations: 85.56 kB / 0.7332 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-05/0.7563, allocations: 29.69 kB / 0.7332 GB, free: 5.301 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 (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.0008459/0.7572, allocations: 245.2 kB / 0.7334 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000346/0.7575, allocations: 78.64 kB / 0.7335 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002643/0.7602, allocations: 0.9765 MB / 0.7345 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.7602, allocations: 8 kB / 0.7345 GB, free: 4.672 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.7602, allocations: 4.609 kB / 0.7345 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/0.7603, allocations: 4.312 kB / 0.7345 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.7618, allocations: 0.8209 MB / 0.7353 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.7618, allocations: 0 / 0.7353 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005848/0.7624, allocations: 137.9 kB / 0.7354 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005818/0.763, allocations: 87.86 kB / 0.7355 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.81e-05/0.7631, allocations: 22.02 kB / 0.7355 GB, free: 3.777 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.7652, allocations: 1.557 MB / 0.737 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.7652, allocations: 0 / 0.737 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.7673, allocations: 0.8267 MB / 0.7378 GB, free: 1.391 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005842/0.7679, allocations: 270.8 kB / 0.7381 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.7681, allocations: 12 kB / 0.7381 GB, free: 1.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006342/0.7687, allocations: 77.48 kB / 0.7382 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.7689, allocations: 64.11 kB / 0.7383 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.48e-05/0.769, allocations: 27.23 kB / 0.7383 GB, free: 1.016 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006983/0.7697, allocations: 427.1 kB / 0.7387 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7697, allocations: 0 / 0.7387 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001229/0.7709, allocations: 297.3 kB / 0.739 GB, free: 388 kB / 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: 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.003901/0.7748, allocations: 1.858 MB / 0.7408 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00166/0.7765, allocations: 0.7115 MB / 0.7415 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.7765, allocations: 0 / 0.7415 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008857/0.7774, allocations: 484.7 kB / 0.7419 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.7787, allocations: 228.2 kB / 0.7422 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.7898, allocations: 5.024 MB / 0.7471 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006893/0.7905, allocations: 1.011 MB / 0.7481 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001019/0.7915, allocations: 265.9 kB / 0.7483 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005261/0.7921, allocations: 343.3 kB / 0.7486 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/0.7921, allocations: 0 / 0.7486 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04552/0.8376, allocations: 19.55 MB / 0.7677 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/0.8379, allocations: 282.7 kB / 0.768 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.367/3.205, allocations: 0 / 0.768 GB, free: 3.055 MB / 0.5762 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: