Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.DirectTiltedSurface,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.001148/0.001148, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001115/0.001115, allocations: 192.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.171/1.171, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7982/0.7982, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 59.62 kB / 0.505 GB, free: 5.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1211, allocations: 80.93 MB / 0.584 GB, free: 4.762 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005565/0.1267, allocations: 4.912 MB / 0.5888 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.322/0.4487, allocations: 148.6 MB / 0.7339 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007122/0.4494, allocations: 17.38 kB / 0.7339 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006158/0.4501, allocations: 150.6 kB / 0.734 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.4517, allocations: 0.4963 MB / 0.7345 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.4536, allocations: 0.8337 MB / 0.7353 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001616/0.4552, allocations: 1.544 MB / 0.7368 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.4565, allocations: 1.152 MB / 0.738 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007726/0.4573, allocations: 0.6854 MB / 0.7386 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008168/0.4581, allocations: 0.7402 MB / 0.7393 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000297/0.4584, allocations: 193.3 kB / 0.7395 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008406/0.4593, allocations: 0.5231 MB / 0.74 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003845/0.4597, allocations: 432.3 kB / 0.7405 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007945/0.4605, allocations: 0.8208 MB / 0.7413 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.4624, allocations: 2.254 MB / 0.7435 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4624, allocations: 0 / 0.7435 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4624, allocations: 0 / 0.7435 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.388e-05/0.4625, allocations: 0 / 0.7435 GB, free: 7.949 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002906/0.4654, allocations: 1.831 MB / 0.7452 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.4654, allocations: 7.625 kB / 0.7453 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002073/0.4657, allocations: 217.6 kB / 0.7455 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000868/0.4665, allocations: 237.6 kB / 0.7457 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.4676, allocations: 0.9016 MB / 0.7466 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.4677, allocations: 143.2 kB / 0.7467 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.4678, allocations: 142.5 kB / 0.7468 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.4698, allocations: 1.467 MB / 0.7483 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.4699, allocations: 0 / 0.7483 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.47, allocations: 61 kB / 0.7483 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.47, allocations: 36.5 kB / 0.7484 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.4721, allocations: 1.497 MB / 0.7498 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005003/0.4771, allocations: 3.935 MB / 0.7537 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.4785, allocations: 0.9075 MB / 0.7546 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005347/0.479, allocations: 371.2 kB / 0.7549 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.746e-05/0.4791, allocations: 45.02 kB / 0.755 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008903/0.48, allocations: 0.5474 MB / 0.7555 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 2.074e-06/0.48, allocations: 0 / 0.7555 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.002983/0.483, allocations: 1.372 MB / 0.7568 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.693e-05/0.4831, allocations: 188.9 kB / 0.757 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007797/0.4839, allocations: 0.7668 MB / 0.7578 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.886e-05/0.4839, allocations: 41.7 kB / 0.7578 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/0.4843, allocations: 0.5775 MB / 0.7584 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.4845, allocations: 307.5 kB / 0.7587 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/0.4847, allocations: 186.4 kB / 0.7588 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.931e-05/0.4848, allocations: 337.9 kB / 0.7592 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005144/0.4854, allocations: 305.8 kB / 0.7594 GB, free: 9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006173/0.486, allocations: 431.4 kB / 0.7599 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.4871, allocations: 0.7499 MB / 0.7606 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4872, allocations: 0 / 0.7606 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001908/0.4891, allocations: 0.9736 MB / 0.7615 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.4891, allocations: 4 kB / 0.7615 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4891, allocations: 4 kB / 0.7615 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005512/0.4897, allocations: 88.77 kB / 0.7616 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007384/0.4904, allocations: 187.8 kB / 0.7618 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.4922, allocations: 1.645 MB / 0.7634 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006106/0.4929, allocations: 103.1 kB / 0.7635 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.471e-05/0.4929, allocations: 40.03 kB / 0.7636 GB, free: 4.59 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003843/0.4933, allocations: 313.6 kB / 0.7639 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.4935, allocations: 98.78 kB / 0.7639 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/0.4961, allocations: 1.289 MB / 0.7652 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.4961, allocations: 17.25 kB / 0.7652 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.4961, allocations: 0 / 0.7652 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.4962, allocations: 7.969 kB / 0.7652 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003364/0.4995, allocations: 2.504 MB / 0.7677 GB, free: 300 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4995, allocations: 4 kB / 0.7677 GB, free: 296 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006664/0.5002, allocations: 175.8 kB / 0.7678 GB, free: 120 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004099/0.5006, allocations: 76.78 kB / 0.7679 GB, free: 40 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.514e-05/0.5007, allocations: 23.98 kB / 0.7679 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/0.5024, allocations: 1.679 MB / 0.7696 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5024, allocations: 0 / 0.7696 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.5043, allocations: 1.121 MB / 0.7707 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003243/0.5046, allocations: 307.6 kB / 0.771 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.5047, allocations: 23.84 kB / 0.771 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006714/0.5054, allocations: 65.81 kB / 0.7711 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.5056, allocations: 73.55 kB / 0.7711 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.399e-05/0.5056, allocations: 43.97 kB / 0.7712 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000587/0.5062, allocations: 0.5576 MB / 0.7717 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5062, allocations: 0 / 0.7717 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007667/0.507, allocations: 398.6 kB / 0.7721 GB, free: 11.59 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 (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003188/0.5102, allocations: 2.171 MB / 0.7742 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002365/0.5126, allocations: 1.167 MB / 0.7754 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5126, allocations: 4.25 kB / 0.7754 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008786/0.5135, allocations: 0.5744 MB / 0.7759 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.5146, allocations: 315.5 kB / 0.7762 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/0.5273, allocations: 8.914 MB / 0.7849 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006028/0.528, allocations: 1.165 MB / 0.7861 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007914/0.5288, allocations: 283.9 kB / 0.7863 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006511/0.5294, allocations: 0.5578 MB / 0.7869 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.5294, allocations: 0 / 0.7869 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.017/1.547, allocations: 25.2 MB / 0.8115 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002404/1.547, allocations: 303.8 kB / 0.8118 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/3.882, allocations: 3.625 kB / 0.8118 GB, free: 3.168 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)