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.001126/0.001126, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001449/0.001449, allocations: 172.7 kB / 15.95 MB, free: 208 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.437/1.437, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9082/0.9082, allocations: 135.3 MB / 426.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003017, allocations: 8.844 kB / 0.5071 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1507, allocations: 82.3 MB / 0.5875 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.004707/0.1555, allocations: 4.227 MB / 0.5916 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.397/0.5525, allocations: 137 MB / 0.7254 GB, free: 6.988 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007882/0.5533, allocations: 21.53 kB / 0.7254 GB, free: 6.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006047/0.554, allocations: 135.5 kB / 0.7255 GB, free: 6.906 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.5556, allocations: 470.3 kB / 0.726 GB, free: 6.637 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.5577, allocations: 0.7026 MB / 0.7267 GB, free: 6.285 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.5592, allocations: 1.34 MB / 0.728 GB, free: 5.609 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.5605, allocations: 0.9124 MB / 0.7289 GB, free: 5.211 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006867/0.5612, allocations: 430.7 kB / 0.7293 GB, free: 5.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007125/0.5619, allocations: 461.2 kB / 0.7297 GB, free: 4.797 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.562, allocations: 28.53 kB / 0.7297 GB, free: 4.797 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000854/0.5629, allocations: 340.1 kB / 0.7301 GB, free: 4.707 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.5632, allocations: 222.5 kB / 0.7303 GB, free: 4.602 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.5634, allocations: 268.6 kB / 0.7305 GB, free: 4.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001956/0.5654, allocations: 1.683 MB / 0.7322 GB, free: 3.988 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.5654, allocations: 0 / 0.7322 GB, free: 3.988 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5654, allocations: 3.938 kB / 0.7322 GB, free: 3.984 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.668e-05/0.5655, allocations: 0.9375 kB / 0.7322 GB, free: 3.984 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002535/0.568, allocations: 1.508 MB / 0.7336 GB, free: 2.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.5681, allocations: 9.375 kB / 0.7337 GB, free: 2.98 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002567/0.5683, allocations: 215 kB / 0.7339 GB, free: 2.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009108/0.5692, allocations: 258 kB / 0.7341 GB, free: 2.742 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.5705, allocations: 0.8624 MB / 0.7349 GB, free: 2.184 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.5706, allocations: 143.8 kB / 0.7351 GB, free: 2.102 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.5708, allocations: 142.9 kB / 0.7352 GB, free: 2.055 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/0.5736, allocations: 1.468 MB / 0.7367 GB, free: 1.398 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.5736, allocations: 0 / 0.7367 GB, free: 1.398 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/0.5738, allocations: 62.56 kB / 0.7367 GB, free: 1.352 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.361e-05/0.5738, allocations: 39.55 kB / 0.7368 GB, free: 1.348 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.5762, allocations: 1.493 MB / 0.7382 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006152/0.5824, allocations: 3.966 MB / 0.7421 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.5838, allocations: 0.9018 MB / 0.743 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005754/0.5844, allocations: 372.5 kB / 0.7433 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.389e-05/0.5845, allocations: 41.08 kB / 0.7434 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009564/0.5855, allocations: 0.5524 MB / 0.7439 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=93): time 3.607e-06/0.5855, allocations: 0 / 0.7439 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93): time 0.003156/0.5886, allocations: 1.384 MB / 0.7452 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.946e-05/0.5888, allocations: 192.9 kB / 0.7454 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009766/0.5897, allocations: 0.7551 MB / 0.7462 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.318e-05/0.5898, allocations: 45.7 kB / 0.7462 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/0.5903, allocations: 0.5736 MB / 0.7468 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/0.5905, allocations: 315.5 kB / 0.7471 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/0.5906, allocations: 16 kB / 0.7471 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.5907, allocations: 338 kB / 0.7474 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006089/0.5913, allocations: 305.8 kB / 0.7477 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007354/0.592, allocations: 431.8 kB / 0.7481 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006585/0.5927, allocations: 370.9 kB / 0.7485 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.5927, allocations: 0 / 0.7485 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002017/0.5948, allocations: 0.9814 MB / 0.7494 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.5948, allocations: 4 kB / 0.7494 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.5948, allocations: 4.062 kB / 0.7494 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00054/0.5953, allocations: 84.77 kB / 0.7495 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008352/0.5962, allocations: 195.7 kB / 0.7497 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.5981, allocations: 1.527 MB / 0.7512 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006784/0.5988, allocations: 112.3 kB / 0.7513 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.141e-05/0.5989, allocations: 39.97 kB / 0.7513 GB, free: 4.535 MB / 0.5606 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 ($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 (103): * Single equations (assignments): 102 * 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.0005545/0.5994, allocations: 322.4 kB / 0.7516 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.5996, allocations: 94.78 kB / 0.7517 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002933/0.6025, allocations: 1.314 MB / 0.753 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.6026, allocations: 12 kB / 0.753 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6026, allocations: 0 / 0.753 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.6026, allocations: 3.984 kB / 0.753 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00428/0.6069, allocations: 2.499 MB / 0.7555 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.6069, allocations: 4 kB / 0.7555 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007453/0.6077, allocations: 187.7 kB / 0.7557 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000501/0.6082, allocations: 84.78 kB / 0.7557 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-05/0.6083, allocations: 27.92 kB / 0.7558 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/0.6101, allocations: 1.566 MB / 0.7573 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6101, allocations: 3.938 kB / 0.7573 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/0.6122, allocations: 1.121 MB / 0.7584 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004801/0.6127, allocations: 339.3 kB / 0.7587 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.6129, allocations: 16 kB / 0.7587 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006843/0.6136, allocations: 81.14 kB / 0.7588 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.6137, allocations: 72.89 kB / 0.7589 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.039e-05/0.6138, allocations: 43.92 kB / 0.7589 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007551/0.6145, allocations: 0.5537 MB / 0.7595 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6145, allocations: 0 / 0.7595 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001123/0.6157, allocations: 398.6 kB / 0.7598 GB, free: 11.57 MB / 0.5762 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 (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.003533/0.6192, allocations: 2.159 MB / 0.762 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001765/0.621, allocations: 0.9325 MB / 0.7629 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.621, allocations: 0 / 0.7629 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009561/0.622, allocations: 0.5786 MB / 0.7634 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.6232, allocations: 278.3 kB / 0.7637 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/0.6357, allocations: 6.491 MB / 0.77 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.6367, allocations: 1.165 MB / 0.7712 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001051/0.6378, allocations: 291.9 kB / 0.7714 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00084/0.6386, allocations: 0.5538 MB / 0.772 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of SimCode: time 7.51e-07/0.6386, allocations: 3.938 kB / 0.772 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04483/0.6835, allocations: 25.54 MB / 0.7969 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.6837, allocations: 295.5 kB / 0.7972 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/3.127, allocations: 0 / 0.7972 GB, free: 5.582 MB / 0.6075 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/linux/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) Environment - environmentSimulation: