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.00144/0.00144, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.725/1.725, allocations: 222.9 MB / 240.2 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.577/1.577, allocations: 135.1 MB / 425.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 68.45 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2339, allocations: 80.93 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.01198/0.246, allocations: 4.899 MB / 0.5893 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6378/0.8838, allocations: 150.8 MB / 0.7365 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009573/0.8848, allocations: 21.62 kB / 0.7365 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008815/0.8857, allocations: 196.8 kB / 0.7367 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002709/0.8884, allocations: 0.5589 MB / 0.7373 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00368/0.8921, allocations: 0.9237 MB / 0.7382 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002439/0.8946, allocations: 1.543 MB / 0.7397 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002318/0.8969, allocations: 1.147 MB / 0.7408 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.8981, allocations: 0.6829 MB / 0.7415 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.8994, allocations: 0.7301 MB / 0.7422 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003682/0.8998, allocations: 196 kB / 0.7424 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.9012, allocations: 0.522 MB / 0.7429 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005927/0.9018, allocations: 435.6 kB / 0.7433 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001082/0.9029, allocations: 0.8124 MB / 0.7441 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003522/0.9065, allocations: 2.258 MB / 0.7463 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.9065, allocations: 6.453 kB / 0.7463 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.734e-06/0.9065, allocations: 0 / 0.7463 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.33e-05/0.9065, allocations: 0 / 0.7463 GB, free: 5.293 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.004852/0.9114, allocations: 1.825 MB / 0.7481 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.9115, allocations: 10.12 kB / 0.7481 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003998/0.9119, allocations: 214.5 kB / 0.7483 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.9137, allocations: 241.8 kB / 0.7485 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/0.9159, allocations: 0.9003 MB / 0.7494 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/0.9161, allocations: 138.9 kB / 0.7495 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002695/0.9164, allocations: 138 kB / 0.7497 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004156/0.9206, allocations: 1.471 MB / 0.7511 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.407e-05/0.9207, allocations: 3.938 kB / 0.7511 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000227/0.9209, allocations: 64.66 kB / 0.7512 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-05/0.921, allocations: 38.91 kB / 0.7512 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004795/0.9258, allocations: 1.494 MB / 0.7527 GB, free: 264 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01101/0.9368, allocations: 3.925 MB / 0.7565 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003015/0.9398, allocations: 0.9074 MB / 0.7574 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.9411, allocations: 373.1 kB / 0.7577 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.9413, allocations: 37.02 kB / 0.7578 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00194/0.9432, allocations: 0.5523 MB / 0.7583 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 4.909e-06/0.9432, allocations: 4 kB / 0.7583 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.006489/0.9497, allocations: 1.364 MB / 0.7597 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/0.9499, allocations: 200.9 kB / 0.7598 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.9517, allocations: 0.759 MB / 0.7606 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001581/0.9519, allocations: 41.7 kB / 0.7606 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008308/0.9528, allocations: 0.5775 MB / 0.7612 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004677/0.9532, allocations: 311.5 kB / 0.7615 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000478/0.9537, allocations: 178.4 kB / 0.7617 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.954, allocations: 345.9 kB / 0.762 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.9551, allocations: 313.8 kB / 0.7623 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.9565, allocations: 423.4 kB / 0.7627 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002624/0.9592, allocations: 0.7468 MB / 0.7634 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.9592, allocations: 2.688 kB / 0.7634 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004184/0.9634, allocations: 0.9735 MB / 0.7644 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.9634, allocations: 9.719 kB / 0.7644 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.9635, allocations: 128 / 0.7644 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.9645, allocations: 88.7 kB / 0.7645 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.9662, allocations: 187.8 kB / 0.7646 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003561/0.9698, allocations: 1.649 MB / 0.7663 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.9711, allocations: 95.08 kB / 0.7663 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.9712, allocations: 39.97 kB / 0.7664 GB, free: 1.809 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.0008949/0.9722, allocations: 313.6 kB / 0.7667 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000337/0.9725, allocations: 102.8 kB / 0.7668 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005429/0.978, allocations: 1.293 MB / 0.768 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.978, allocations: 11.94 kB / 0.7681 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.978, allocations: 0 / 0.7681 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/0.978, allocations: 7.969 kB / 0.7681 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007293/0.9854, allocations: 2.508 MB / 0.7705 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.9854, allocations: 0 / 0.7705 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/0.9869, allocations: 175.8 kB / 0.7707 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007947/0.9877, allocations: 72.78 kB / 0.7708 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.9879, allocations: 27.98 kB / 0.7708 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003373/0.9912, allocations: 1.681 MB / 0.7724 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.9913, allocations: 3.438 kB / 0.7724 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004078/0.9954, allocations: 1.121 MB / 0.7735 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007115/0.9961, allocations: 311.5 kB / 0.7738 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002391/0.9963, allocations: 31.84 kB / 0.7738 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/0.9977, allocations: 62.12 kB / 0.7739 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002399/0.998, allocations: 72.89 kB / 0.774 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/0.9981, allocations: 39.97 kB / 0.774 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001324/0.9995, allocations: 0.5615 MB / 0.7746 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.3e-07/0.9995, allocations: 0 / 0.7746 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001762/1.001, allocations: 390.6 kB / 0.7749 GB, free: 8.801 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.006794/1.008, allocations: 2.165 MB / 0.777 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005318/1.013, allocations: 1.167 MB / 0.7782 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/1.013, allocations: 0 / 0.7782 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0019/1.015, allocations: 0.5863 MB / 0.7788 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/1.018, allocations: 308.9 kB / 0.7791 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02481/1.043, allocations: 8.295 MB / 0.7872 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/1.044, allocations: 1.174 MB / 0.7883 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001848/1.046, allocations: 291.8 kB / 0.7886 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/1.047, allocations: 0.5539 MB / 0.7891 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of SimCode: time 7.72e-07/1.047, allocations: 3.938 kB / 0.7891 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05391/1.101, allocations: 25.34 MB / 0.8139 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.79/23.89, allocations: 10.03 kB / 0.8139 GB, free: 1.188 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 & 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)