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.0006894/0.0006894, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.004273/0.004273, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.22/1.22, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8864/0.8864, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002799/0.0002799, allocations: 8 kB / 0.5077 GB, free: 4.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1291, allocations: 82.31 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005026/0.1341, allocations: 4.471 MB / 0.5924 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3558/0.49, allocations: 146.9 MB / 0.7359 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008249/0.4908, allocations: 17.41 kB / 0.7359 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006399/0.4915, allocations: 157.5 kB / 0.736 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.4933, allocations: 480.5 kB / 0.7365 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.4955, allocations: 0.813 MB / 0.7373 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00185/0.4973, allocations: 1.441 MB / 0.7387 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.4988, allocations: 1.083 MB / 0.7398 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00077/0.4996, allocations: 434.4 kB / 0.7402 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008034/0.5004, allocations: 492.4 kB / 0.7406 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.5006, allocations: 27.69 kB / 0.7407 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008322/0.5014, allocations: 366.7 kB / 0.741 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.5017, allocations: 243.3 kB / 0.7412 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004729/0.5021, allocations: 0.5996 MB / 0.7418 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.5038, allocations: 2.096 MB / 0.7439 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.5038, allocations: 0 / 0.7439 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5038, allocations: 0 / 0.7439 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.5038, allocations: 0 / 0.7439 GB, free: 9.504 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.002229/0.506, allocations: 1.488 MB / 0.7453 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.5061, allocations: 13.56 kB / 0.7453 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002258/0.5063, allocations: 217.1 kB / 0.7456 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000875/0.5072, allocations: 246.8 kB / 0.7458 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.5083, allocations: 0.9002 MB / 0.7467 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.5084, allocations: 143.7 kB / 0.7468 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.5086, allocations: 142 kB / 0.7469 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/0.5107, allocations: 1.471 MB / 0.7484 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.5107, allocations: 0 / 0.7484 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.5108, allocations: 64.27 kB / 0.7484 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.5108, allocations: 37.22 kB / 0.7485 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/0.5129, allocations: 1.503 MB / 0.7499 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005156/0.5181, allocations: 3.97 MB / 0.7538 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.5195, allocations: 0.9114 MB / 0.7547 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005767/0.5201, allocations: 371.6 kB / 0.7551 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.292e-05/0.5202, allocations: 49.06 kB / 0.7551 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008917/0.5211, allocations: 0.5553 MB / 0.7557 GB, free: 284 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=93): time 1.954e-06/0.5211, allocations: 0 / 0.7557 GB, free: 284 kB / 0.5606 GB Notification: Performance of matching and sorting (n=93): time 0.003077/0.5242, allocations: 1.38 MB / 0.757 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/0.5243, allocations: 196.9 kB / 0.7572 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008352/0.5251, allocations: 0.7667 MB / 0.7579 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.988e-05/0.5252, allocations: 45.64 kB / 0.758 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003577/0.5256, allocations: 0.5853 MB / 0.7586 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.5258, allocations: 303.6 kB / 0.7588 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.666e-05/0.5259, allocations: 73.67 kB / 0.7589 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.526, allocations: 334 kB / 0.7592 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005516/0.5265, allocations: 309.8 kB / 0.7595 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006307/0.5272, allocations: 435.4 kB / 0.7599 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.5284, allocations: 0.75 MB / 0.7607 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5284, allocations: 0 / 0.7607 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00192/0.5303, allocations: 0.9853 MB / 0.7616 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.5304, allocations: 4 kB / 0.7616 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.5304, allocations: 7.938 kB / 0.7616 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005562/0.5309, allocations: 80.81 kB / 0.7617 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007466/0.5317, allocations: 199.7 kB / 0.7619 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.5335, allocations: 1.54 MB / 0.7634 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000621/0.5341, allocations: 102 kB / 0.7635 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.498e-05/0.5342, allocations: 39.97 kB / 0.7636 GB, free: 7.883 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.0004219/0.5346, allocations: 317.6 kB / 0.7639 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.5348, allocations: 106.8 kB / 0.764 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/0.5374, allocations: 1.294 MB / 0.7652 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.5374, allocations: 12 kB / 0.7652 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.5374, allocations: 0 / 0.7652 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.5374, allocations: 7.922 kB / 0.7652 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003484/0.5409, allocations: 2.512 MB / 0.7677 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.5409, allocations: 6.812 kB / 0.7677 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006768/0.5416, allocations: 183.7 kB / 0.7679 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004793/0.5421, allocations: 84.77 kB / 0.768 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.218e-05/0.5422, allocations: 35.92 kB / 0.768 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.5438, allocations: 1.56 MB / 0.7695 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.5438, allocations: 0 / 0.7695 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.5457, allocations: 1.121 MB / 0.7706 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003601/0.5461, allocations: 343.3 kB / 0.7709 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.5462, allocations: 20 kB / 0.771 GB, free: 48 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006976/0.5469, allocations: 75.94 kB / 0.771 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.547, allocations: 76.89 kB / 0.7711 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.807e-05/0.5471, allocations: 32.86 kB / 0.7711 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006316/0.5477, allocations: 0.5693 MB / 0.7717 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5478, allocations: 0 / 0.7717 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008455/0.5486, allocations: 394.5 kB / 0.7721 GB, free: 14.91 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.003241/0.5519, allocations: 2.178 MB / 0.7742 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001544/0.5534, allocations: 0.9404 MB / 0.7751 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5534, allocations: 0 / 0.7751 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008878/0.5543, allocations: 0.5783 MB / 0.7757 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.5555, allocations: 278.3 kB / 0.7759 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/0.569, allocations: 9.013 MB / 0.7847 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006976/0.5697, allocations: 1.169 MB / 0.7859 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008322/0.5706, allocations: 291.8 kB / 0.7862 GB, free: 380 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006933/0.5713, allocations: 0.554 MB / 0.7867 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.5713, allocations: 0 / 0.7867 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.111/1.682, allocations: 24.16 MB / 0.8103 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003673/1.683, allocations: 311.1 kB / 0.8106 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.306/3.989, allocations: 0 / 0.8106 GB, free: 7.672 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)