Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_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.001112/0.001112, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001125/0.001125, allocations: 198.5 kB / 16.25 MB, free: 6.621 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.18/1.18, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6717/0.6717, allocations: 132.2 MB / 422.2 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 59.62 kB / 0.5013 GB, free: 8.984 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1186, allocations: 80.22 MB / 0.5797 GB, free: 8.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005473/0.1241, allocations: 4.901 MB / 0.5845 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3187/0.4428, allocations: 148.6 MB / 0.7296 GB, free: 2.172 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007078/0.4436, allocations: 22.19 kB / 0.7296 GB, free: 2.164 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005935/0.4442, allocations: 147.7 kB / 0.7297 GB, free: 2.078 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.4458, allocations: 0.4887 MB / 0.7302 GB, free: 1.812 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.4476, allocations: 0.8448 MB / 0.731 GB, free: 1.348 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001536/0.4492, allocations: 1.542 MB / 0.7325 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.4505, allocations: 1.151 MB / 0.7337 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008392/0.4514, allocations: 0.6792 MB / 0.7343 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008624/0.4522, allocations: 0.7382 MB / 0.735 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002708/0.4525, allocations: 190.2 kB / 0.7352 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007327/0.4533, allocations: 0.5251 MB / 0.7357 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002837/0.4536, allocations: 441 kB / 0.7362 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005335/0.4541, allocations: 0.8128 MB / 0.7369 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.4557, allocations: 2.263 MB / 0.7392 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.4557, allocations: 0.9688 kB / 0.7392 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4557, allocations: 0 / 0.7392 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.566e-05/0.4557, allocations: 0 / 0.7392 GB, free: 13.18 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.002487/0.4582, allocations: 1.828 MB / 0.7409 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.4582, allocations: 9.625 kB / 0.741 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002079/0.4584, allocations: 218.1 kB / 0.7412 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008645/0.4593, allocations: 238.5 kB / 0.7414 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009709/0.4603, allocations: 0.9049 MB / 0.7423 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.607e-05/0.4604, allocations: 138.1 kB / 0.7424 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.4605, allocations: 143.6 kB / 0.7425 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.4626, allocations: 1.461 MB / 0.744 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/0.4626, allocations: 0 / 0.744 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.4627, allocations: 67.59 kB / 0.744 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.4627, allocations: 34.41 kB / 0.7441 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.4647, allocations: 1.495 MB / 0.7455 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004886/0.4696, allocations: 3.935 MB / 0.7494 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.4709, allocations: 0.91 MB / 0.7503 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005539/0.4715, allocations: 361.8 kB / 0.7506 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.237e-05/0.4716, allocations: 53 kB / 0.7507 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008907/0.4725, allocations: 0.5435 MB / 0.7512 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=93): time 2.004e-06/0.4725, allocations: 4 kB / 0.7512 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93): time 0.003008/0.4755, allocations: 1.368 MB / 0.7525 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.4756, allocations: 192.9 kB / 0.7527 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007626/0.4764, allocations: 0.7668 MB / 0.7535 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.545e-05/0.4764, allocations: 41.7 kB / 0.7535 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003193/0.4768, allocations: 0.5775 MB / 0.7541 GB, free: 152 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.477, allocations: 303.5 kB / 0.7543 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/0.4772, allocations: 186.4 kB / 0.7545 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.965e-05/0.4773, allocations: 337.9 kB / 0.7548 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005373/0.4779, allocations: 309.8 kB / 0.7551 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006137/0.4785, allocations: 431.3 kB / 0.7556 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.4797, allocations: 0.7422 MB / 0.7563 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4797, allocations: 0 / 0.7563 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001923/0.4816, allocations: 0.9736 MB / 0.7572 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.4816, allocations: 4 kB / 0.7572 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4816, allocations: 4.938 kB / 0.7572 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005518/0.4822, allocations: 88.8 kB / 0.7573 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007383/0.4829, allocations: 195.7 kB / 0.7575 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.4847, allocations: 1.64 MB / 0.7591 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006238/0.4854, allocations: 105.3 kB / 0.7592 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.744e-05/0.4854, allocations: 35.97 kB / 0.7592 GB, free: 10.61 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.0003919/0.4858, allocations: 323.1 kB / 0.7596 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.486, allocations: 104.2 kB / 0.7597 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/0.4886, allocations: 1.288 MB / 0.7609 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.4886, allocations: 15.94 kB / 0.7609 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.4887, allocations: 0 / 0.7609 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.4887, allocations: 7.969 kB / 0.7609 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00338/0.4921, allocations: 2.495 MB / 0.7634 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.4921, allocations: 0 / 0.7634 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006749/0.4927, allocations: 179.7 kB / 0.7635 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004025/0.4932, allocations: 80.72 kB / 0.7636 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.667e-05/0.4932, allocations: 23.98 kB / 0.7636 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/0.4949, allocations: 1.67 MB / 0.7653 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4949, allocations: 144 / 0.7653 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.4968, allocations: 1.125 MB / 0.7664 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000326/0.4971, allocations: 319.5 kB / 0.7667 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.4972, allocations: 19.94 kB / 0.7667 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000673/0.4979, allocations: 62.12 kB / 0.7668 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.4981, allocations: 72.89 kB / 0.7668 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.462e-05/0.4981, allocations: 43.97 kB / 0.7669 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005978/0.4987, allocations: 0.5615 MB / 0.7674 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4988, allocations: 0 / 0.7674 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000768/0.4995, allocations: 402.3 kB / 0.7678 GB, free: 1.598 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 (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.003219/0.5028, allocations: 2.154 MB / 0.7699 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002392/0.5052, allocations: 1.167 MB / 0.771 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5052, allocations: 3.938 kB / 0.771 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009138/0.5061, allocations: 0.5786 MB / 0.7716 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.5072, allocations: 306.5 kB / 0.7719 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/0.5201, allocations: 8.926 MB / 0.7806 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006206/0.5207, allocations: 1.162 MB / 0.7818 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008255/0.5215, allocations: 295.9 kB / 0.782 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006601/0.5222, allocations: 0.5539 MB / 0.7826 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.5222, allocations: 0 / 0.7826 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5973/1.119, allocations: 25.18 MB / 0.8072 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002699/1.12, allocations: 304.8 kB / 0.8075 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/3.293, allocations: 0 / 0.8075 GB, free: 9.227 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)