Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.BrighteningCoefficient,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IDEAS_dev_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.0009193/0.0009194, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005609/0.005609, allocations: 171.4 kB / 16.27 MB, free: 6.32 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.277/1.277, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8656/0.8656, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002908, allocations: 12.66 kB / 0.5077 GB, free: 4.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1264, allocations: 82.31 MB / 0.5881 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004047/0.1305, allocations: 3.99 MB / 0.592 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.344/0.4744, allocations: 146.7 MB / 0.7353 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006484/0.4751, allocations: 14.53 kB / 0.7353 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005315/0.4757, allocations: 145.8 kB / 0.7354 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.4771, allocations: 394.9 kB / 0.7358 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.4791, allocations: 0.7957 MB / 0.7366 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001569/0.4807, allocations: 1.267 MB / 0.7378 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.4818, allocations: 0.7499 MB / 0.7386 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006723/0.4824, allocations: 375.7 kB / 0.7389 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000685/0.4831, allocations: 432.3 kB / 0.7393 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.4833, allocations: 29.28 kB / 0.7394 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008924/0.4842, allocations: 395.6 kB / 0.7397 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.4845, allocations: 210.2 kB / 0.7399 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005732/0.4851, allocations: 490.7 kB / 0.7404 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.4867, allocations: 1.591 MB / 0.742 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.4867, allocations: 0 / 0.742 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.865e-06/0.4867, allocations: 1.344 kB / 0.742 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.296e-05/0.4868, allocations: 3.938 kB / 0.742 GB, free: 11.25 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.002283/0.489, allocations: 1.317 MB / 0.7433 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.4891, allocations: 9.531 kB / 0.7433 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/0.4893, allocations: 164.5 kB / 0.7434 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004938/0.4942, allocations: 0.8188 MB / 0.7442 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009582/0.4952, allocations: 0.7751 MB / 0.745 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.638e-05/0.4952, allocations: 75.97 kB / 0.7451 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.4954, allocations: 99.5 kB / 0.7451 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002775/0.4982, allocations: 1.398 MB / 0.7465 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.4982, allocations: 2.969 kB / 0.7465 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.4983, allocations: 41.81 kB / 0.7466 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.4983, allocations: 25.81 kB / 0.7466 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004032/0.5024, allocations: 1.897 MB / 0.7484 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00504/0.5074, allocations: 3.168 MB / 0.7515 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002951/0.5104, allocations: 1.287 MB / 0.7528 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.5118, allocations: 0.5738 MB / 0.7533 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005743/0.5124, allocations: 482.6 kB / 0.7538 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001639/0.514, allocations: 0.7425 MB / 0.7545 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=100): time 2.043e-06/0.514, allocations: 7.938 kB / 0.7545 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100): time 0.005369/0.5194, allocations: 1.864 MB / 0.7564 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/0.5195, allocations: 188.9 kB / 0.7565 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006473/0.5202, allocations: 0.6174 MB / 0.7571 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-05/0.5202, allocations: 41.7 kB / 0.7572 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.5205, allocations: 424.5 kB / 0.7576 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.5208, allocations: 335 kB / 0.7579 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.5209, allocations: 65.69 kB / 0.758 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.521, allocations: 394.7 kB / 0.7583 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.5223, allocations: 457.7 kB / 0.7588 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/0.5237, allocations: 0.5774 MB / 0.7593 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002671/0.5264, allocations: 1.023 MB / 0.7603 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5264, allocations: 0 / 0.7603 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003406/0.5298, allocations: 1.255 MB / 0.7616 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.5298, allocations: 9.719 kB / 0.7616 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.5299, allocations: 0 / 0.7616 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005417/0.5304, allocations: 80.91 kB / 0.7617 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.5316, allocations: 251.6 kB / 0.7619 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.5334, allocations: 1.517 MB / 0.7634 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.5344, allocations: 162.6 kB / 0.7635 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.847e-05/0.5345, allocations: 39.97 kB / 0.7636 GB, free: 7.973 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.0003698/0.5349, allocations: 269.6 kB / 0.7638 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.535, allocations: 86.97 kB / 0.7639 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004097/0.5391, allocations: 1.596 MB / 0.7655 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.5391, allocations: 12 kB / 0.7655 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.5391, allocations: 0 / 0.7655 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.5392, allocations: 7.969 kB / 0.7655 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00525/0.5444, allocations: 2.753 MB / 0.7682 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-06/0.5444, allocations: 3.984 kB / 0.7682 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/0.5456, allocations: 251.6 kB / 0.7684 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004645/0.5461, allocations: 88.77 kB / 0.7685 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-05/0.5462, allocations: 27.97 kB / 0.7685 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.5478, allocations: 1.548 MB / 0.77 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5478, allocations: 0 / 0.77 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003447/0.5512, allocations: 1.445 MB / 0.7715 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/0.5516, allocations: 319.4 kB / 0.7718 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.5517, allocations: 24 kB / 0.7718 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.5528, allocations: 129.4 kB / 0.7719 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.5529, allocations: 72.89 kB / 0.772 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-05/0.553, allocations: 39.98 kB / 0.772 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000454/0.5535, allocations: 447 kB / 0.7724 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5535, allocations: 0 / 0.7724 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008229/0.5543, allocations: 359.1 kB / 0.7728 GB, free: 14.28 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 (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.004774/0.5591, allocations: 2.504 MB / 0.7752 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003106/0.5622, allocations: 1.296 MB / 0.7765 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5622, allocations: 0 / 0.7765 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001705/0.5639, allocations: 0.7851 MB / 0.7773 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.5651, allocations: 275.4 kB / 0.7775 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/0.5812, allocations: 8.613 MB / 0.7859 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.5817, allocations: 1.059 MB / 0.787 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001211/0.5829, allocations: 323.2 kB / 0.7873 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006293/0.5835, allocations: 431.2 kB / 0.7877 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.5836, allocations: 4 kB / 0.7877 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4083/0.9918, allocations: 22.68 MB / 0.8098 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002448/0.9921, allocations: 324.1 kB / 0.8101 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/3.346, allocations: 4 kB / 0.8101 GB, free: 8.332 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)