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.0008074/0.0008075, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004563/0.004563, allocations: 170 kB / 16.26 MB, free: 6.613 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.132/1.132, allocations: 223.2 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001526/0.001526, allocations: 274.3 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8192/0.8192, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000641/0.000641, allocations: 13.92 kB / 0.5988 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1295, allocations: 88.55 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004441/0.134, allocations: 4.214 MB / 0.6894 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3886/0.5226, allocations: 146.8 MB / 0.8328 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003242/0.523, allocations: 14.94 kB / 0.8328 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003931/0.5234, allocations: 144.1 kB / 0.8329 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009859/0.5244, allocations: 443.2 kB / 0.8333 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.5258, allocations: 0.8138 MB / 0.8341 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001145/0.527, allocations: 1.396 MB / 0.8355 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008772/0.5279, allocations: 0.7487 MB / 0.8362 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004326/0.5283, allocations: 416.9 kB / 0.8366 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005029/0.5288, allocations: 485.8 kB / 0.8371 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.118e-05/0.5289, allocations: 37.41 kB / 0.8371 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005382/0.5295, allocations: 396.6 kB / 0.8375 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002067/0.5297, allocations: 226.2 kB / 0.8377 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003849/0.5301, allocations: 0.5267 MB / 0.8382 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.5314, allocations: 1.71 MB / 0.8399 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5314, allocations: 0 / 0.8399 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5314, allocations: 4 kB / 0.8399 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.5314, allocations: 0 / 0.8399 GB, free: 7.789 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.002481/0.5339, allocations: 1.406 MB / 0.8413 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.5339, allocations: 10.81 kB / 0.8413 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001887/0.5341, allocations: 166.9 kB / 0.8414 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005177/0.5393, allocations: 0.8255 MB / 0.8422 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.5403, allocations: 0.8134 MB / 0.843 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.455e-05/0.5404, allocations: 84.55 kB / 0.8431 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.5406, allocations: 104.9 kB / 0.8432 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003008/0.5436, allocations: 1.458 MB / 0.8446 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.5436, allocations: 0 / 0.8446 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.5437, allocations: 46.91 kB / 0.8447 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.851e-05/0.5438, allocations: 31.95 kB / 0.8447 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00446/0.5482, allocations: 1.939 MB / 0.8466 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006768/0.555, allocations: 3.309 MB / 0.8498 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005118/0.5601, allocations: 1.386 MB / 0.8512 GB, free: 496 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002333/0.5625, allocations: 0.6031 MB / 0.8518 GB, free: 188 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000915/0.5634, allocations: 485.2 kB / 0.8523 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002904/0.5663, allocations: 0.8118 MB / 0.853 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=109): time 5.972e-06/0.5664, allocations: 2.969 kB / 0.853 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=109): time 0.009147/0.5755, allocations: 1.994 MB / 0.855 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.5757, allocations: 195.8 kB / 0.8552 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.5768, allocations: 0.6469 MB / 0.8558 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.577, allocations: 50.81 kB / 0.8559 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000464/0.5774, allocations: 440.1 kB / 0.8563 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000423/0.5779, allocations: 354.3 kB / 0.8566 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.5781, allocations: 77.27 kB / 0.8567 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002327/0.5783, allocations: 402.6 kB / 0.8571 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00221/0.5805, allocations: 0.4917 MB / 0.8576 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002359/0.5829, allocations: 0.6102 MB / 0.8582 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00396/0.5869, allocations: 1.065 MB / 0.8592 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5869, allocations: 4 kB / 0.8592 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003728/0.5906, allocations: 1.337 MB / 0.8605 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.5907, allocations: 6.219 kB / 0.8605 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.5907, allocations: 0 / 0.8605 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005791/0.5913, allocations: 88.02 kB / 0.8606 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.5926, allocations: 268 kB / 0.8608 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.5945, allocations: 1.526 MB / 0.8623 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.5958, allocations: 166.7 kB / 0.8625 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.508e-05/0.5959, allocations: 40.81 kB / 0.8625 GB, free: 8.863 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.0004671/0.5964, allocations: 290.2 kB / 0.8628 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.5965, allocations: 95.16 kB / 0.8629 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004607/0.6011, allocations: 1.691 MB / 0.8646 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.6012, allocations: 12 kB / 0.8646 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.6012, allocations: 0 / 0.8646 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.6012, allocations: 7.969 kB / 0.8646 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006029/0.6072, allocations: 2.883 MB / 0.8674 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.6072, allocations: 3.984 kB / 0.8674 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/0.6086, allocations: 247.7 kB / 0.8676 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005247/0.6091, allocations: 92.7 kB / 0.8677 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.98e-05/0.6092, allocations: 35.91 kB / 0.8678 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.611, allocations: 1.54 MB / 0.8693 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.611, allocations: 4.031 kB / 0.8693 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00403/0.615, allocations: 1.546 MB / 0.8708 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004334/0.6155, allocations: 335.3 kB / 0.8711 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.6156, allocations: 20.14 kB / 0.8711 GB, free: 444 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.6169, allocations: 147.6 kB / 0.8712 GB, free: 300 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.6171, allocations: 92.8 kB / 0.8713 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-05/0.6172, allocations: 47.97 kB / 0.8714 GB, free: 160 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000582/0.6178, allocations: 475 kB / 0.8718 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6178, allocations: 0 / 0.8718 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009439/0.6187, allocations: 383 kB / 0.8722 GB, free: 15.32 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.005527/0.6243, allocations: 2.617 MB / 0.8748 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003624/0.6279, allocations: 1.362 MB / 0.8761 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6279, allocations: 0 / 0.8761 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00197/0.6299, allocations: 0.832 MB / 0.8769 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.6312, allocations: 272 kB / 0.8772 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01885/0.6501, allocations: 9.16 MB / 0.8861 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006331/0.6507, allocations: 1.099 MB / 0.8872 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001402/0.6521, allocations: 335.7 kB / 0.8875 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007526/0.6529, allocations: 459.2 kB / 0.8879 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of SimCode: time 6.91e-07/0.6529, allocations: 0 / 0.8879 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6616/1.315, allocations: 24.03 MB / 0.9114 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003568/1.315, allocations: 339.8 kB / 0.9117 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.331/3.646, allocations: 0 / 0.9117 GB, free: 7.184 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)