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.001378/0.001378, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001578/0.001578, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9962/0.9962, allocations: 135.2 MB / 426.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004262/0.0004262, allocations: 8.562 kB / 0.5069 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1968, allocations: 82.32 MB / 0.5873 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004681/0.2016, allocations: 3.713 MB / 0.5909 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5151/0.7168, allocations: 127.6 MB / 0.7155 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007317/0.7175, allocations: 13.81 kB / 0.7156 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003951/0.7179, allocations: 84.53 kB / 0.7156 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.7196, allocations: 461.5 kB / 0.7161 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00223/0.7218, allocations: 0.6901 MB / 0.7167 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001591/0.7234, allocations: 0.8313 MB / 0.7176 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009252/0.7243, allocations: 0.5583 MB / 0.7181 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007645/0.7251, allocations: 375.5 kB / 0.7185 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005953/0.7257, allocations: 390.8 kB / 0.7188 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.731e-05/0.7258, allocations: 30.06 kB / 0.7189 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.7269, allocations: 332.7 kB / 0.7192 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.7271, allocations: 203.8 kB / 0.7194 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.7273, allocations: 201.1 kB / 0.7196 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001747/0.7291, allocations: 1.247 MB / 0.7208 GB, free: 12.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.7291, allocations: 0.9688 kB / 0.7208 GB, free: 12.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.165e-06/0.7291, allocations: 0 / 0.7208 GB, free: 12.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.924e-05/0.7291, allocations: 0 / 0.7208 GB, free: 12.5 MB / 0.545 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.003001/0.7321, allocations: 1.323 MB / 0.7221 GB, free: 11.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.7322, allocations: 10.31 kB / 0.7221 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000293/0.7325, allocations: 161.8 kB / 0.7222 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005481/0.738, allocations: 0.8162 MB / 0.723 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/0.7397, allocations: 0.7513 MB / 0.7238 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.318e-05/0.7398, allocations: 77.48 kB / 0.7238 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.7399, allocations: 103.5 kB / 0.7239 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003477/0.7434, allocations: 1.385 MB / 0.7253 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.7435, allocations: 0.5 kB / 0.7253 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.7436, allocations: 42.97 kB / 0.7253 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.7436, allocations: 30.41 kB / 0.7254 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005039/0.7487, allocations: 1.883 MB / 0.7272 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006718/0.7554, allocations: 3.162 MB / 0.7303 GB, free: 8.234 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003042/0.7585, allocations: 1.284 MB / 0.7315 GB, free: 7.727 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007046/0.7592, allocations: 478 kB / 0.732 GB, free: 7.242 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001886/0.7611, allocations: 0.7328 MB / 0.7327 GB, free: 6.945 MB / 0.545 GB Notification: Performance of pre-optimization done (n=100): time 2.374e-06/0.7611, allocations: 0 / 0.7327 GB, free: 6.945 MB / 0.545 GB Notification: Performance of matching and sorting (n=100): time 0.005863/0.767, allocations: 1.861 MB / 0.7345 GB, free: 5.234 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.797e-05/0.7671, allocations: 196.9 kB / 0.7347 GB, free: 5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009105/0.768, allocations: 0.6017 MB / 0.7353 GB, free: 4.387 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.7682, allocations: 53.7 kB / 0.7354 GB, free: 4.328 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/0.7685, allocations: 412.5 kB / 0.7358 GB, free: 3.918 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000309/0.7689, allocations: 339 kB / 0.7361 GB, free: 3.582 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.215e-05/0.7689, allocations: 16 kB / 0.7361 GB, free: 3.566 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.7691, allocations: 390.7 kB / 0.7365 GB, free: 3.176 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/0.7705, allocations: 457.7 kB / 0.7369 GB, free: 2.727 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.7719, allocations: 0.5734 MB / 0.7375 GB, free: 2.125 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.7733, allocations: 0.491 MB / 0.7379 GB, free: 1.637 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.7734, allocations: 0 / 0.7379 GB, free: 1.637 MB / 0.545 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003637/0.777, allocations: 1.251 MB / 0.7392 GB, free: 384 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.777, allocations: 4 kB / 0.7392 GB, free: 380 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.777, allocations: 4 kB / 0.7392 GB, free: 376 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005644/0.7776, allocations: 84.47 kB / 0.7393 GB, free: 292 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.779, allocations: 251.6 kB / 0.7395 GB, free: 40 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.7809, allocations: 1.53 MB / 0.741 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.7822, allocations: 155.1 kB / 0.7411 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.111e-05/0.7823, allocations: 43.97 kB / 0.7412 GB, free: 14.18 MB / 0.5606 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000562/0.7829, allocations: 267.9 kB / 0.7414 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.783, allocations: 86.92 kB / 0.7415 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004369/0.7874, allocations: 1.601 MB / 0.7431 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.7874, allocations: 12 kB / 0.7431 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.7875, allocations: 0 / 0.7431 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.7875, allocations: 12.78 kB / 0.7431 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006029/0.7935, allocations: 2.745 MB / 0.7458 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.7936, allocations: 0 / 0.7458 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/0.7949, allocations: 255.6 kB / 0.746 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005123/0.7954, allocations: 84.78 kB / 0.7461 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.38e-05/0.7955, allocations: 27.97 kB / 0.7461 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.7974, allocations: 1.564 MB / 0.7477 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.7974, allocations: 0 / 0.7477 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004399/0.8018, allocations: 1.441 MB / 0.7491 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007867/0.8026, allocations: 315.5 kB / 0.7494 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.8028, allocations: 16 kB / 0.7494 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.804, allocations: 133.4 kB / 0.7495 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.8041, allocations: 80.77 kB / 0.7496 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.535e-05/0.8042, allocations: 43.97 kB / 0.7496 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006123/0.8048, allocations: 447 kB / 0.7501 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8049, allocations: 3.938 kB / 0.7501 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001114/0.806, allocations: 351.1 kB / 0.7504 GB, free: 4.484 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005215/0.8112, allocations: 2.504 MB / 0.7528 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003653/0.8149, allocations: 1.284 MB / 0.7541 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.8149, allocations: 0 / 0.7541 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00194/0.8169, allocations: 0.7889 MB / 0.7549 GB, free: 72 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.8182, allocations: 232.8 kB / 0.7551 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/0.8328, allocations: 6.685 MB / 0.7616 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006439/0.8335, allocations: 1.075 MB / 0.7627 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001592/0.8351, allocations: 335.2 kB / 0.763 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000719/0.8358, allocations: 427.2 kB / 0.7634 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of SimCode: time 9.72e-07/0.8359, allocations: 4 kB / 0.7634 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07621/0.9121, allocations: 23.76 MB / 0.7866 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003584/0.9125, allocations: 284.8 kB / 0.7869 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.468/3.38, allocations: 6.891 kB / 0.7869 GB, free: 15.48 MB / 0.6075 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/linux/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) Environment - environmentSimulation: