Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="BuildingSystems_BuildingSystems_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.001097/0.001097, allocations: 108 kB / 15.61 MB, free: 152 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.001207/0.001207, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 283 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9454/0.9454, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00286/0.00286, allocations: 97.06 kB / 0.5953 GB, free: 27.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1571, allocations: 86.98 MB / 0.6803 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006892/0.1641, allocations: 4.647 MB / 0.6848 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4212/0.5853, allocations: 150.7 MB / 0.832 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007853/0.5861, allocations: 15.44 kB / 0.832 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005291/0.5866, allocations: 182.9 kB / 0.8322 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.5881, allocations: 0.5079 MB / 0.8327 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.59, allocations: 0.9344 MB / 0.8336 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001401/0.5914, allocations: 1.491 MB / 0.8351 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009643/0.5924, allocations: 0.7927 MB / 0.8359 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007124/0.5931, allocations: 0.5766 MB / 0.8364 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006179/0.5937, allocations: 0.6194 MB / 0.837 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000225/0.594, allocations: 142.8 kB / 0.8372 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009302/0.5949, allocations: 0.501 MB / 0.8377 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002501/0.5952, allocations: 360.8 kB / 0.838 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004924/0.5957, allocations: 0.6485 MB / 0.8386 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.5974, allocations: 1.829 MB / 0.8404 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5974, allocations: 1.031 kB / 0.8404 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5974, allocations: 0 / 0.8404 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.325e-05/0.5975, allocations: 4 kB / 0.8404 GB, free: 15.64 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003164/0.6006, allocations: 1.67 MB / 0.8421 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.6007, allocations: 9.625 kB / 0.8421 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001771/0.6009, allocations: 163.3 kB / 0.8422 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005418/0.6063, allocations: 0.7592 MB / 0.843 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.6075, allocations: 0.8136 MB / 0.8438 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.595e-05/0.6076, allocations: 81.02 kB / 0.8438 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.6078, allocations: 107 kB / 0.8439 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003171/0.6109, allocations: 1.436 MB / 0.8453 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.611, allocations: 2.625 kB / 0.8453 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.6111, allocations: 43.34 kB / 0.8454 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.6111, allocations: 24.53 kB / 0.8454 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004591/0.6157, allocations: 1.891 MB / 0.8473 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005859/0.6216, allocations: 3.277 MB / 0.8505 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003531/0.6252, allocations: 1.365 MB / 0.8518 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/0.6267, allocations: 0.6041 MB / 0.8524 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006327/0.6274, allocations: 481.5 kB / 0.8528 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001901/0.6293, allocations: 0.8162 MB / 0.8536 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=109): time 4.579e-06/0.6293, allocations: 3.984 kB / 0.8536 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of matching and sorting (n=109): time 0.006086/0.6354, allocations: 1.967 MB / 0.8556 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.863e-05/0.6355, allocations: 191.1 kB / 0.8557 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008425/0.6364, allocations: 0.6466 MB / 0.8564 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.6365, allocations: 46.08 kB / 0.8564 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003334/0.6368, allocations: 448.1 kB / 0.8568 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.6371, allocations: 351.4 kB / 0.8572 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003198/0.6374, allocations: 187.8 kB / 0.8574 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.6376, allocations: 399.2 kB / 0.8577 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/0.6391, allocations: 495.5 kB / 0.8582 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.6407, allocations: 0.6024 MB / 0.8588 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002993/0.6437, allocations: 1.059 MB / 0.8598 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.6437, allocations: 0 / 0.8598 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00399/0.6477, allocations: 1.322 MB / 0.8611 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.6478, allocations: 7.344 kB / 0.8611 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.6478, allocations: 0 / 0.8611 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/0.6484, allocations: 85.64 kB / 0.8612 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.6498, allocations: 260.4 kB / 0.8615 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.6518, allocations: 1.627 MB / 0.863 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.6532, allocations: 159.3 kB / 0.8632 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.6533, allocations: 44.98 kB / 0.8632 GB, free: 0.9531 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: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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.0005657/0.6539, allocations: 295.9 kB / 0.8635 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/0.6542, allocations: 93.44 kB / 0.8636 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004773/0.6589, allocations: 1.676 MB / 0.8653 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.659, allocations: 14.06 kB / 0.8653 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.659, allocations: 4 kB / 0.8653 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.659, allocations: 6.172 kB / 0.8653 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006265/0.6653, allocations: 2.856 MB / 0.8681 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.6653, allocations: 0 / 0.8681 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/0.6667, allocations: 254.8 kB / 0.8683 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004549/0.6671, allocations: 74.97 kB / 0.8684 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.6672, allocations: 34.09 kB / 0.8684 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.6691, allocations: 1.656 MB / 0.87 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.6691, allocations: 3.938 kB / 0.87 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004177/0.6733, allocations: 1.532 MB / 0.8715 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005164/0.6738, allocations: 319.1 kB / 0.8718 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/0.674, allocations: 30.84 kB / 0.8719 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.6753, allocations: 131.1 kB / 0.872 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.6755, allocations: 84.91 kB / 0.8721 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.6756, allocations: 46.28 kB / 0.8721 GB, free: 11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006048/0.6762, allocations: 468.4 kB / 0.8726 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6762, allocations: 0 / 0.8726 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001052/0.6773, allocations: 381.3 kB / 0.8729 GB, free: 10.62 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.005729/0.683, allocations: 2.604 MB / 0.8755 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004883/0.6879, allocations: 1.624 MB / 0.877 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.688, allocations: 0 / 0.877 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002015/0.69, allocations: 0.824 MB / 0.8779 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.6915, allocations: 302.4 kB / 0.8781 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/0.7098, allocations: 8.583 MB / 0.8865 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006433/0.7104, allocations: 1.08 MB / 0.8876 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001525/0.712, allocations: 343.6 kB / 0.8879 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007617/0.7128, allocations: 467.2 kB / 0.8884 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of SimCode: time 5.81e-07/0.7128, allocations: 0 / 0.8884 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7359/1.449, allocations: 25.26 MB / 0.913 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.65/16.1, allocations: 0.875 kB / 0.913 GB, free: 2.156 MB / 0.6231 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)