Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",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.001449/0.001449, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001667/0.001667, allocations: 192.6 kB / 16.14 MB, free: 6.668 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.321/1.321, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7142/0.7142, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 59.75 kB / 0.5012 GB, free: 9.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1234, allocations: 80.2 MB / 0.5795 GB, free: 9.145 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005567/0.129, allocations: 4.418 MB / 0.5838 GB, free: 4.699 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3232/0.4522, allocations: 148.4 MB / 0.7287 GB, free: 3.035 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005597/0.4528, allocations: 18.81 kB / 0.7287 GB, free: 3.027 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004385/0.4532, allocations: 132.4 kB / 0.7288 GB, free: 2.953 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.4543, allocations: 408.5 kB / 0.7292 GB, free: 2.734 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.4557, allocations: 0.7872 MB / 0.73 GB, free: 2.312 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008929/0.4566, allocations: 1.274 MB / 0.7312 GB, free: 1.715 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007814/0.4574, allocations: 0.7653 MB / 0.732 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000403/0.4578, allocations: 466.3 kB / 0.7324 GB, free: 1.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004777/0.4583, allocations: 0.54 MB / 0.733 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.4585, allocations: 68.81 kB / 0.733 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005591/0.459, allocations: 437.2 kB / 0.7334 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002135/0.4592, allocations: 276.1 kB / 0.7337 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003785/0.4596, allocations: 0.5428 MB / 0.7342 GB, free: 208 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.4608, allocations: 1.645 MB / 0.7358 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4608, allocations: 3.219 kB / 0.7358 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.71e-07/0.4608, allocations: 0 / 0.7358 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.4608, allocations: 0 / 0.7358 GB, free: 15.45 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: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.002237/0.4631, allocations: 1.563 MB / 0.7374 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.4631, allocations: 8 kB / 0.7374 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001539/0.4633, allocations: 161.1 kB / 0.7375 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004622/0.4679, allocations: 0.744 MB / 0.7383 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008652/0.4688, allocations: 0.7791 MB / 0.739 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.695e-05/0.4688, allocations: 85.28 kB / 0.7391 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.469, allocations: 98.53 kB / 0.7392 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002641/0.4716, allocations: 1.367 MB / 0.7405 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.4716, allocations: 0 / 0.7405 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.4717, allocations: 45.88 kB / 0.7406 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.4718, allocations: 29.25 kB / 0.7406 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00381/0.4756, allocations: 1.833 MB / 0.7424 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004683/0.4803, allocations: 3.136 MB / 0.7455 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002671/0.483, allocations: 1.272 MB / 0.7467 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.4842, allocations: 0.571 MB / 0.7473 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005488/0.4848, allocations: 482.6 kB / 0.7477 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001578/0.4864, allocations: 0.7302 MB / 0.7484 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=100): time 2.014e-06/0.4864, allocations: 0 / 0.7484 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100): time 0.004953/0.4913, allocations: 1.852 MB / 0.7502 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.4914, allocations: 192.9 kB / 0.7504 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000588/0.492, allocations: 0.6135 MB / 0.751 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.235e-05/0.4921, allocations: 41.7 kB / 0.7511 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.4923, allocations: 412.5 kB / 0.7515 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.4926, allocations: 335 kB / 0.7518 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002659/0.4928, allocations: 178.5 kB / 0.7519 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.493, allocations: 386.8 kB / 0.7523 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.4941, allocations: 461.7 kB / 0.7527 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.4954, allocations: 0.5704 MB / 0.7533 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002406/0.4978, allocations: 1.004 MB / 0.7543 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4979, allocations: 0 / 0.7543 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003172/0.501, allocations: 1.239 MB / 0.7555 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.5011, allocations: 12.12 kB / 0.7555 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5011, allocations: 3.984 kB / 0.7555 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005046/0.5016, allocations: 80.78 kB / 0.7556 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.5028, allocations: 247.6 kB / 0.7558 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.217/0.7198, allocations: 1.51 MB / 0.7573 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.7213, allocations: 153.4 kB / 0.7574 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.614e-05/0.7214, allocations: 43.91 kB / 0.7575 GB, free: 12.24 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 (104): * Single equations (assignments): 103 * 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.0005077/0.7219, allocations: 271.1 kB / 0.7577 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.7221, allocations: 86.97 kB / 0.7578 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003882/0.726, allocations: 1.583 MB / 0.7594 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.7261, allocations: 8 kB / 0.7594 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.7261, allocations: 4.062 kB / 0.7594 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.7261, allocations: 8.828 kB / 0.7594 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005167/0.7313, allocations: 2.73 MB / 0.7621 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.7313, allocations: 0 / 0.7621 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/0.7325, allocations: 243.7 kB / 0.7623 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004798/0.7329, allocations: 88.7 kB / 0.7624 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.451e-05/0.733, allocations: 31.97 kB / 0.7624 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/0.7346, allocations: 1.55 MB / 0.7639 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7346, allocations: 0 / 0.7639 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003403/0.738, allocations: 1.433 MB / 0.7653 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003364/0.7384, allocations: 299.2 kB / 0.7656 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.7385, allocations: 24 kB / 0.7656 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.7396, allocations: 111.9 kB / 0.7657 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.7397, allocations: 76.89 kB / 0.7658 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.67e-05/0.7398, allocations: 39.92 kB / 0.7658 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004552/0.7403, allocations: 451 kB / 0.7663 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7403, allocations: 0 / 0.7663 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008439/0.7411, allocations: 355.1 kB / 0.7666 GB, free: 2.637 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 (113): * Single equations (assignments): 110 * 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.004739/0.7459, allocations: 2.494 MB / 0.7691 GB, free: 336 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003042/0.7489, allocations: 1.276 MB / 0.7703 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7489, allocations: 0 / 0.7703 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001673/0.7506, allocations: 0.7773 MB / 0.7711 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.7517, allocations: 279.9 kB / 0.7713 GB, free: 14 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/0.7676, allocations: 8.51 MB / 0.7796 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/0.7681, allocations: 1.06 MB / 0.7807 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001237/0.7693, allocations: 323.2 kB / 0.781 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006642/0.77, allocations: 427.2 kB / 0.7814 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.77, allocations: 0 / 0.7814 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.554/3.324, allocations: 23 MB / 0.8038 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/3.325, allocations: 317.6 kB / 0.8041 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.304/5.629, allocations: 2.656 kB / 0.8042 GB, free: 12.55 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)