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.001263/0.001263, allocations: 108 kB / 15.61 MB, free: 128 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.001312/0.001312, allocations: 198 kB / 16.53 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8924/0.8924, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 68.84 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1299, allocations: 80.92 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005597/0.1356, allocations: 4.408 MB / 0.5888 GB, free: 32 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3521/0.4876, allocations: 150.7 MB / 0.7359 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006547/0.4883, allocations: 15.75 kB / 0.7359 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005083/0.4889, allocations: 173.9 kB / 0.7361 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.4901, allocations: 488.1 kB / 0.7366 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.4918, allocations: 0.8934 MB / 0.7374 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001021/0.4928, allocations: 1.361 MB / 0.7388 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009034/0.4938, allocations: 0.776 MB / 0.7395 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004599/0.4942, allocations: 0.5298 MB / 0.74 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004968/0.4947, allocations: 0.5704 MB / 0.7406 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.4949, allocations: 130.1 kB / 0.7407 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006691/0.4956, allocations: 499.2 kB / 0.7412 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.4958, allocations: 337.2 kB / 0.7415 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000422/0.4963, allocations: 0.5954 MB / 0.7421 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.4976, allocations: 1.704 MB / 0.7438 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.4977, allocations: 0 / 0.7438 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4977, allocations: 1.75 kB / 0.7438 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.4977, allocations: 0 / 0.7438 GB, free: 7.234 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.002375/0.5001, allocations: 1.569 MB / 0.7453 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.5001, allocations: 7.188 kB / 0.7453 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001529/0.5003, allocations: 157.5 kB / 0.7454 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004908/0.5052, allocations: 0.7505 MB / 0.7462 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009572/0.5061, allocations: 0.783 MB / 0.7469 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.679e-05/0.5062, allocations: 75.5 kB / 0.747 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.5063, allocations: 100.8 kB / 0.7471 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002768/0.5091, allocations: 1.367 MB / 0.7484 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.5091, allocations: 3.984 kB / 0.7485 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.5093, allocations: 46.66 kB / 0.7485 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.5093, allocations: 27.16 kB / 0.7485 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004446/0.5137, allocations: 1.836 MB / 0.7503 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005275/0.519, allocations: 3.137 MB / 0.7534 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003052/0.5221, allocations: 1.267 MB / 0.7546 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/0.5235, allocations: 0.5704 MB / 0.7552 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006054/0.5241, allocations: 486.5 kB / 0.7556 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001729/0.5259, allocations: 0.7269 MB / 0.7563 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=100): time 2.905e-06/0.5259, allocations: 7.938 kB / 0.7564 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100): time 0.005608/0.5315, allocations: 1.848 MB / 0.7582 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/0.5316, allocations: 192.9 kB / 0.7583 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006376/0.5322, allocations: 0.6135 MB / 0.7589 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.269e-05/0.5323, allocations: 41.7 kB / 0.759 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.5326, allocations: 416.5 kB / 0.7594 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.5328, allocations: 335 kB / 0.7597 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000274/0.5331, allocations: 178.5 kB / 0.7599 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.5333, allocations: 386.8 kB / 0.7602 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.5346, allocations: 457.7 kB / 0.7607 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.536, allocations: 0.5696 MB / 0.7612 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002723/0.5388, allocations: 1.004 MB / 0.7622 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5388, allocations: 3.938 kB / 0.7622 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003537/0.5423, allocations: 1.243 MB / 0.7634 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.5423, allocations: 8 kB / 0.7634 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.5424, allocations: 0 / 0.7634 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005608/0.5429, allocations: 84.89 kB / 0.7635 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.5442, allocations: 243.7 kB / 0.7637 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.546, allocations: 1.631 MB / 0.7653 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.5471, allocations: 150 kB / 0.7655 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-05/0.5472, allocations: 39.97 kB / 0.7655 GB, free: 2.578 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.000352/0.5475, allocations: 269.7 kB / 0.7658 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.5477, allocations: 86.97 kB / 0.7659 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004239/0.5519, allocations: 1.581 MB / 0.7674 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.552, allocations: 12 kB / 0.7674 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.552, allocations: 0 / 0.7674 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.552, allocations: 7.984 kB / 0.7674 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005444/0.5574, allocations: 2.734 MB / 0.7701 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.5575, allocations: 4 kB / 0.7701 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.5587, allocations: 247.6 kB / 0.7703 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004127/0.5591, allocations: 72.78 kB / 0.7704 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.857e-05/0.5592, allocations: 35.97 kB / 0.7704 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001721/0.5609, allocations: 1.662 MB / 0.7721 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.561, allocations: 0 / 0.7721 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003624/0.5646, allocations: 1.433 MB / 0.7735 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/0.5649, allocations: 295.6 kB / 0.7737 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.5651, allocations: 20 kB / 0.7738 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.5662, allocations: 115.9 kB / 0.7739 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.5663, allocations: 76.83 kB / 0.7739 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-05/0.5664, allocations: 43.97 kB / 0.774 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004571/0.5669, allocations: 443 kB / 0.7744 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5669, allocations: 0 / 0.7744 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008402/0.5677, allocations: 363 kB / 0.7748 GB, free: 8.852 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.004994/0.5727, allocations: 2.486 MB / 0.7772 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004134/0.5769, allocations: 1.53 MB / 0.7787 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5769, allocations: 7.938 kB / 0.7787 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.5786, allocations: 0.7772 MB / 0.7794 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.5798, allocations: 289.6 kB / 0.7797 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/0.5952, allocations: 8.061 MB / 0.7876 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.5957, allocations: 1.056 MB / 0.7886 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001251/0.597, allocations: 331.2 kB / 0.7889 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006333/0.5976, allocations: 423.2 kB / 0.7893 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.5977, allocations: 0 / 0.7893 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7864/1.384, allocations: 23.82 MB / 0.8126 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/14.9, allocations: 18.45 kB / 0.8126 GB, free: 2.469 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)