Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.001051/0.001051, allocations: 108 kB / 15.61 MB, free: 152 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.0009998/0.0009998, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8573/0.8573, allocations: 135.1 MB / 425.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 63.48 kB / 0.5054 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1255, allocations: 80.93 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005137/0.1306, allocations: 4.182 MB / 0.5886 GB, free: 276 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.359/0.4897, allocations: 150.5 MB / 0.7356 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000565/0.4903, allocations: 16.16 kB / 0.7356 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004714/0.4908, allocations: 172.6 kB / 0.7357 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.4921, allocations: 480.5 kB / 0.7362 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.4936, allocations: 0.8093 MB / 0.737 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009022/0.4946, allocations: 1.199 MB / 0.7382 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008047/0.4954, allocations: 0.684 MB / 0.7388 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004327/0.4958, allocations: 458.6 kB / 0.7393 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004723/0.4963, allocations: 483 kB / 0.7397 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.4964, allocations: 115.2 kB / 0.7398 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006407/0.4971, allocations: 479.6 kB / 0.7403 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002235/0.4973, allocations: 293.9 kB / 0.7406 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004132/0.4977, allocations: 0.5281 MB / 0.7411 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.4991, allocations: 1.55 MB / 0.7426 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4991, allocations: 5.312 kB / 0.7426 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.213e-06/0.4991, allocations: 0 / 0.7426 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.4991, allocations: 0 / 0.7426 GB, free: 8.16 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.001952/0.5011, allocations: 1.391 MB / 0.744 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.5011, allocations: 9.312 kB / 0.744 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.5013, allocations: 139.5 kB / 0.7441 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.5023, allocations: 209.3 kB / 0.7443 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000888/0.5032, allocations: 0.7283 MB / 0.745 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.987e-05/0.5032, allocations: 73.38 kB / 0.7451 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.883e-05/0.5033, allocations: 87.38 kB / 0.7452 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.5047, allocations: 0.9462 MB / 0.7461 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.5048, allocations: 3.938 kB / 0.7461 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.761e-05/0.5048, allocations: 39.44 kB / 0.7461 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.5049, allocations: 28.3 kB / 0.7462 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.5064, allocations: 1.131 MB / 0.7473 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003397/0.5098, allocations: 2.557 MB / 0.7498 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.5112, allocations: 0.8153 MB / 0.7506 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004945/0.5117, allocations: 287.6 kB / 0.7508 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005821/0.5123, allocations: 478.2 kB / 0.7513 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007302/0.513, allocations: 431.3 kB / 0.7517 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.354e-06/0.513, allocations: 0 / 0.7517 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.00277/0.5158, allocations: 1.1 MB / 0.7528 GB, free: 28 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.886e-05/0.5159, allocations: 192.6 kB / 0.753 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006663/0.5166, allocations: 0.5979 MB / 0.7535 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/0.5167, allocations: 41.7 kB / 0.7536 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.5169, allocations: 404.1 kB / 0.754 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.5171, allocations: 240.5 kB / 0.7542 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.5173, allocations: 138.2 kB / 0.7543 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5175, allocations: 386.7 kB / 0.7547 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004692/0.5179, allocations: 227.8 kB / 0.7549 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005503/0.5185, allocations: 334.7 kB / 0.7552 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009934/0.5195, allocations: 0.5316 MB / 0.7558 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5195, allocations: 4 kB / 0.7558 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001692/0.5212, allocations: 0.7314 MB / 0.7565 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.5212, allocations: 8 kB / 0.7565 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.5213, allocations: 0 / 0.7565 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000568/0.5218, allocations: 84.86 kB / 0.7566 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005758/0.5224, allocations: 139.8 kB / 0.7567 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.5244, allocations: 1.623 MB / 0.7583 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005408/0.5249, allocations: 91.33 kB / 0.7584 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.985e-05/0.525, allocations: 32.44 kB / 0.7584 GB, free: 10 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.0003228/0.5253, allocations: 261.3 kB / 0.7586 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.5254, allocations: 79.05 kB / 0.7587 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.5276, allocations: 0.9931 MB / 0.7597 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.5277, allocations: 12 kB / 0.7597 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.5277, allocations: 0 / 0.7597 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.5277, allocations: 7.922 kB / 0.7597 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002988/0.5307, allocations: 1.894 MB / 0.7616 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5307, allocations: 0.875 kB / 0.7616 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005669/0.5313, allocations: 151.8 kB / 0.7617 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004299/0.5317, allocations: 72.86 kB / 0.7618 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/0.5318, allocations: 19.98 kB / 0.7618 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.5337, allocations: 1.658 MB / 0.7634 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.5338, allocations: 8.047 kB / 0.7634 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.5357, allocations: 0.9218 MB / 0.7643 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/0.536, allocations: 255.8 kB / 0.7646 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.5361, allocations: 16 kB / 0.7646 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005823/0.5367, allocations: 59.94 kB / 0.7646 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.5368, allocations: 56.92 kB / 0.7647 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.31e-05/0.5369, allocations: 31.97 kB / 0.7647 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005261/0.5374, allocations: 447 kB / 0.7651 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5374, allocations: 0 / 0.7651 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008766/0.5383, allocations: 311.1 kB / 0.7654 GB, free: 2.531 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 (84): * Single equations (assignments): 81 * 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.003254/0.5416, allocations: 1.979 MB / 0.7674 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002061/0.5437, allocations: 0.9301 MB / 0.7683 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5437, allocations: 0 / 0.7683 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008578/0.5445, allocations: 492.8 kB / 0.7688 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.5456, allocations: 301.6 kB / 0.769 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009839/0.5555, allocations: 6.232 MB / 0.7751 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00056/0.5561, allocations: 1.019 MB / 0.7761 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000786/0.5569, allocations: 258.2 kB / 0.7764 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004764/0.5574, allocations: 375.3 kB / 0.7767 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.5574, allocations: 3.938 kB / 0.7767 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6914/1.249, allocations: 20.25 MB / 0.7965 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/14.38, allocations: 14.92 kB / 0.7965 GB, free: 3.121 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)