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.001204/0.001204, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001156/0.001156, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.181/1.181, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8047/0.8047, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 68.05 kB / 0.505 GB, free: 5.543 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1223, allocations: 80.93 MB / 0.584 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005209/0.1276, allocations: 4.407 MB / 0.5883 GB, free: 352 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3221/0.4497, allocations: 148.4 MB / 0.7333 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006179/0.4503, allocations: 20.22 kB / 0.7333 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000544/0.4509, allocations: 134.6 kB / 0.7334 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.4523, allocations: 429.1 kB / 0.7338 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.4541, allocations: 0.8025 MB / 0.7346 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001429/0.4556, allocations: 1.366 MB / 0.7359 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009423/0.4565, allocations: 0.7855 MB / 0.7367 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007044/0.4572, allocations: 0.5257 MB / 0.7372 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006589/0.4579, allocations: 0.5776 MB / 0.7378 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.4581, allocations: 131.6 kB / 0.7379 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007369/0.4588, allocations: 0.4892 MB / 0.7384 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000282/0.4591, allocations: 324.9 kB / 0.7387 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005608/0.4597, allocations: 0.5997 MB / 0.7393 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.4613, allocations: 1.71 MB / 0.7409 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.4613, allocations: 0 / 0.7409 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4613, allocations: 0 / 0.7409 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.712e-05/0.4614, allocations: 0 / 0.7409 GB, free: 9.68 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.002838/0.4642, allocations: 1.559 MB / 0.7425 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.4643, allocations: 10.22 kB / 0.7425 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000173/0.4645, allocations: 166.4 kB / 0.7426 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005052/0.4695, allocations: 0.7472 MB / 0.7434 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009504/0.4705, allocations: 0.7767 MB / 0.7441 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.086e-05/0.4705, allocations: 80.94 kB / 0.7442 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.4707, allocations: 96.69 kB / 0.7443 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002714/0.4734, allocations: 1.371 MB / 0.7456 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.4734, allocations: 0 / 0.7456 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.4735, allocations: 42.78 kB / 0.7457 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.4735, allocations: 25.91 kB / 0.7457 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003972/0.4775, allocations: 1.841 MB / 0.7475 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00497/0.4825, allocations: 3.136 MB / 0.7506 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00277/0.4853, allocations: 1.276 MB / 0.7518 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.4866, allocations: 0.5724 MB / 0.7524 GB, free: 400 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005783/0.4872, allocations: 478.6 kB / 0.7528 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001638/0.4888, allocations: 0.7345 MB / 0.7535 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=100): time 2.094e-06/0.4888, allocations: 0 / 0.7535 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100): time 0.005232/0.4941, allocations: 1.844 MB / 0.7553 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/0.4942, allocations: 188.9 kB / 0.7555 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006212/0.4948, allocations: 0.6213 MB / 0.7561 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.008e-05/0.4949, allocations: 41.7 kB / 0.7562 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.4951, allocations: 420.5 kB / 0.7566 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.4954, allocations: 335 kB / 0.7569 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002943/0.4957, allocations: 170.5 kB / 0.757 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.4958, allocations: 390.7 kB / 0.7574 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.4971, allocations: 457.7 kB / 0.7579 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.4984, allocations: 0.5753 MB / 0.7584 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002531/0.5009, allocations: 0.9998 MB / 0.7594 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.501, allocations: 0 / 0.7594 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003322/0.5043, allocations: 1.247 MB / 0.7606 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.5043, allocations: 8 kB / 0.7606 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5043, allocations: 0 / 0.7606 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005587/0.5049, allocations: 84.89 kB / 0.7607 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.5061, allocations: 239.6 kB / 0.7609 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.5079, allocations: 1.632 MB / 0.7625 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.5089, allocations: 147.1 kB / 0.7627 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.029e-05/0.509, allocations: 39.97 kB / 0.7627 GB, free: 5.387 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.5094, allocations: 269.6 kB / 0.763 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.5096, allocations: 86.97 kB / 0.763 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004053/0.5136, allocations: 1.582 MB / 0.7646 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.5136, allocations: 12 kB / 0.7646 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5136, allocations: 4.062 kB / 0.7646 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.5137, allocations: 3.984 kB / 0.7646 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005165/0.5188, allocations: 2.734 MB / 0.7673 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5188, allocations: 0 / 0.7673 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.5201, allocations: 251.6 kB / 0.7675 GB, free: 388 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004117/0.5205, allocations: 72.78 kB / 0.7676 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.663e-05/0.5206, allocations: 27.97 kB / 0.7676 GB, free: 284 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.5222, allocations: 1.66 MB / 0.7692 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5222, allocations: 8.094 kB / 0.7692 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003412/0.5256, allocations: 1.429 MB / 0.7706 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003367/0.526, allocations: 303.6 kB / 0.7709 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.5261, allocations: 16 kB / 0.7709 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.5272, allocations: 114.1 kB / 0.771 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.5273, allocations: 76.83 kB / 0.7711 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-05/0.5274, allocations: 47.91 kB / 0.7712 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004422/0.5279, allocations: 447 kB / 0.7716 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5279, allocations: 0 / 0.7716 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007954/0.5287, allocations: 355.1 kB / 0.7719 GB, free: 11.67 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.00474/0.5334, allocations: 2.513 MB / 0.7744 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003875/0.5373, allocations: 1.518 MB / 0.7759 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5373, allocations: 0 / 0.7759 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001666/0.539, allocations: 0.7773 MB / 0.7766 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.5401, allocations: 291.2 kB / 0.7769 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/0.5557, allocations: 8.517 MB / 0.7852 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004988/0.5562, allocations: 1.059 MB / 0.7863 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001256/0.5574, allocations: 331.2 kB / 0.7866 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006277/0.5581, allocations: 427.2 kB / 0.787 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.5581, allocations: 0 / 0.787 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7753/1.333, allocations: 23.65 MB / 0.8101 GB, free: 4.996 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/1.334, allocations: 327.7 kB / 0.8104 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.309/3.643, allocations: 0 / 0.8104 GB, free: 4.609 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)