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.007082/0.007082, allocations: 100.8 kB / 15.73 MB, free: 5.605 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.001842/0.001842, allocations: 189.4 kB / 16.67 MB, free: 5.527 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8383/0.8383, allocations: 135.6 MB / 426.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 67.64 kB / 0.5857 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1338, allocations: 81.04 MB / 0.6649 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006799/0.1406, allocations: 4.897 MB / 0.6696 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4387/0.5793, allocations: 150.8 MB / 0.8169 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006035/0.5799, allocations: 19.06 kB / 0.8169 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005286/0.5805, allocations: 190.5 kB / 0.8171 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.582, allocations: 0.5628 MB / 0.8177 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.5838, allocations: 0.9233 MB / 0.8186 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001156/0.585, allocations: 1.56 MB / 0.8201 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.5862, allocations: 1.158 MB / 0.8212 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006871/0.5869, allocations: 0.6776 MB / 0.8219 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007457/0.5876, allocations: 0.7361 MB / 0.8226 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001931/0.5878, allocations: 189.4 kB / 0.8228 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008339/0.5887, allocations: 0.5501 MB / 0.8233 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003795/0.5891, allocations: 438.3 kB / 0.8237 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006781/0.5898, allocations: 0.8088 MB / 0.8245 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002334/0.5921, allocations: 2.322 MB / 0.8268 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5921, allocations: 2.906 kB / 0.8268 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5921, allocations: 0 / 0.8268 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.852e-05/0.5921, allocations: 4 kB / 0.8268 GB, free: 1.797 MB / 0.5919 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.002902/0.595, allocations: 1.869 MB / 0.8286 GB, free: 344 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.5951, allocations: 11.73 kB / 0.8286 GB, free: 344 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002385/0.5953, allocations: 216.9 kB / 0.8288 GB, free: 164 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009851/0.5963, allocations: 246.9 kB / 0.8291 GB, free: 40 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.5977, allocations: 0.9337 MB / 0.83 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.5978, allocations: 139.4 kB / 0.8301 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.598, allocations: 140.8 kB / 0.8303 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.6003, allocations: 1.468 MB / 0.8317 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.6003, allocations: 0 / 0.8317 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.6005, allocations: 66.83 kB / 0.8318 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.6005, allocations: 38.12 kB / 0.8318 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/0.6028, allocations: 1.493 MB / 0.8332 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00569/0.6085, allocations: 3.891 MB / 0.837 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.6101, allocations: 0.9046 MB / 0.8379 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006158/0.6107, allocations: 370.4 kB / 0.8383 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.238e-05/0.6108, allocations: 46.92 kB / 0.8383 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000957/0.6118, allocations: 0.5435 MB / 0.8389 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=93): time 2.285e-06/0.6118, allocations: 0 / 0.8389 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93): time 0.00336/0.6152, allocations: 1.377 MB / 0.8402 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.6153, allocations: 191.4 kB / 0.8404 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008724/0.6162, allocations: 0.7596 MB / 0.8411 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.289e-05/0.6162, allocations: 42.77 kB / 0.8412 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004495/0.6167, allocations: 0.5922 MB / 0.8417 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.617, allocations: 327.3 kB / 0.8421 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/0.6172, allocations: 183.2 kB / 0.8422 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.6174, allocations: 341.9 kB / 0.8426 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005952/0.618, allocations: 308.3 kB / 0.8429 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007111/0.6187, allocations: 432.6 kB / 0.8433 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.6201, allocations: 0.741 MB / 0.844 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.6201, allocations: 3.094 kB / 0.844 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002157/0.6222, allocations: 0.9792 MB / 0.845 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.6223, allocations: 4.938 kB / 0.845 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.6223, allocations: 1.906 kB / 0.845 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006019/0.6229, allocations: 83.84 kB / 0.845 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007814/0.6237, allocations: 190.8 kB / 0.8452 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.6259, allocations: 1.647 MB / 0.8468 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006765/0.6266, allocations: 103.4 kB / 0.8469 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.812e-05/0.6267, allocations: 43.97 kB / 0.847 GB, free: 3.398 MB / 0.6075 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.0004697/0.6272, allocations: 317.6 kB / 0.8473 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.6274, allocations: 99.41 kB / 0.8474 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003053/0.6304, allocations: 1.29 MB / 0.8486 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.6304, allocations: 19.88 kB / 0.8486 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.6304, allocations: 0 / 0.8486 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.6305, allocations: 7.969 kB / 0.8487 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004174/0.6346, allocations: 2.508 MB / 0.8511 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.6347, allocations: 0 / 0.8511 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007587/0.6354, allocations: 175.8 kB / 0.8513 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004734/0.6359, allocations: 76.72 kB / 0.8513 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-05/0.636, allocations: 27.98 kB / 0.8514 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/0.6381, allocations: 1.67 MB / 0.853 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.6381, allocations: 4.031 kB / 0.853 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002317/0.6404, allocations: 1.115 MB / 0.8541 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004166/0.6408, allocations: 324 kB / 0.8544 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.641, allocations: 27.94 kB / 0.8544 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007149/0.6417, allocations: 61.66 kB / 0.8545 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.6419, allocations: 72.89 kB / 0.8546 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.781e-05/0.642, allocations: 39.97 kB / 0.8546 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007806/0.6427, allocations: 0.5615 MB / 0.8551 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6428, allocations: 0 / 0.8551 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009478/0.6437, allocations: 398.7 kB / 0.8555 GB, free: 10.38 MB / 0.6231 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.004472/0.6482, allocations: 2.173 MB / 0.8576 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001896/0.6501, allocations: 0.9368 MB / 0.8586 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6501, allocations: 0 / 0.8586 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.6512, allocations: 0.5821 MB / 0.8591 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.6525, allocations: 308.8 kB / 0.8594 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/0.6666, allocations: 7.954 MB / 0.8672 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008804/0.6675, allocations: 1.161 MB / 0.8683 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000953/0.6685, allocations: 295.9 kB / 0.8686 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000807/0.6693, allocations: 0.5539 MB / 0.8692 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/0.6693, allocations: 7.938 kB / 0.8692 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06264/0.732, allocations: 25.71 MB / 0.8943 GB, free: 2.965 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.16, allocations: 8 kB / 0.8943 GB, free: 2.957 MB / 0.6544 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)