Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.001042/0.001042, allocations: 103.4 kB / 16.4 MB, free: 6.449 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.001089/0.001089, allocations: 191.9 kB / 17.34 MB, free: 5.719 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.2/1.2, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6616/0.6616, allocations: 115.3 MB / 406.5 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 67.61 kB / 0.5572 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1318, allocations: 76.19 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006546/0.1383, allocations: 5.101 MB / 0.6366 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4466/0.5849, allocations: 150.7 MB / 0.7837 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00081/0.5858, allocations: 19.19 kB / 0.7837 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005213/0.5863, allocations: 201.7 kB / 0.7839 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.5879, allocations: 0.56 MB / 0.7844 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.5896, allocations: 0.8506 MB / 0.7853 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001208/0.5908, allocations: 1.447 MB / 0.7867 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007809/0.5916, allocations: 0.645 MB / 0.7873 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006326/0.5922, allocations: 0.5173 MB / 0.7878 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005189/0.5928, allocations: 0.5457 MB / 0.7884 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.5929, allocations: 126.3 kB / 0.7885 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008004/0.5937, allocations: 495.4 kB / 0.7889 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002347/0.594, allocations: 319 kB / 0.7893 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004363/0.5944, allocations: 0.6066 MB / 0.7898 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.5959, allocations: 1.737 MB / 0.7915 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.5959, allocations: 0 / 0.7915 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5959, allocations: 0 / 0.7915 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.5959, allocations: 2.75 kB / 0.7915 GB, free: 12.86 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002226/0.5981, allocations: 1.507 MB / 0.793 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.5982, allocations: 10.72 kB / 0.793 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001438/0.5983, allocations: 144.9 kB / 0.7932 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.5993, allocations: 217.3 kB / 0.7934 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009339/0.6003, allocations: 0.7797 MB / 0.7941 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.58e-05/0.6003, allocations: 70.78 kB / 0.7942 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.6005, allocations: 89.75 kB / 0.7943 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.602, allocations: 1.011 MB / 0.7953 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.602, allocations: 0 / 0.7953 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.42e-05/0.6021, allocations: 40.66 kB / 0.7953 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.6021, allocations: 22.25 kB / 0.7953 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.6037, allocations: 1.18 MB / 0.7965 GB, free: 11.43 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003579/0.6072, allocations: 2.859 MB / 0.7993 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002089/0.6093, allocations: 0.978 MB / 0.8002 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000498/0.6099, allocations: 322.3 kB / 0.8005 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.635e-05/0.6099, allocations: 27.97 kB / 0.8006 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007758/0.6107, allocations: 0.4992 MB / 0.8011 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.134e-06/0.6107, allocations: 0 / 0.8011 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.002903/0.6136, allocations: 1.233 MB / 0.8023 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.853e-05/0.6137, allocations: 194.3 kB / 0.8024 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007161/0.6145, allocations: 0.6369 MB / 0.8031 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.639e-05/0.6145, allocations: 40.67 kB / 0.8031 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/0.6148, allocations: 433.9 kB / 0.8035 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.615, allocations: 262.9 kB / 0.8038 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.6152, allocations: 148.5 kB / 0.8039 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.6154, allocations: 391.2 kB / 0.8043 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004516/0.6158, allocations: 259.4 kB / 0.8045 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/0.6164, allocations: 370.6 kB / 0.8049 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009489/0.6173, allocations: 0.6031 MB / 0.8055 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.6173, allocations: 2.656 kB / 0.8055 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001699/0.6191, allocations: 0.8163 MB / 0.8063 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.6191, allocations: 8.469 kB / 0.8063 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.6191, allocations: 0 / 0.8063 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005791/0.6197, allocations: 81.22 kB / 0.8064 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006164/0.6203, allocations: 162.3 kB / 0.8065 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/0.6222, allocations: 1.619 MB / 0.8081 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006783/0.6229, allocations: 100.4 kB / 0.8082 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.01e-05/0.623, allocations: 34.36 kB / 0.8082 GB, free: 5.984 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (88): * Single equations (assignments): 87 * 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.0003883/0.6234, allocations: 275.6 kB / 0.8085 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.6236, allocations: 85.59 kB / 0.8086 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.6258, allocations: 1.102 MB / 0.8096 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.6258, allocations: 9.906 kB / 0.8097 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.6258, allocations: 0 / 0.8097 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.6258, allocations: 3.984 kB / 0.8097 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003054/0.6289, allocations: 2.006 MB / 0.8116 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.6289, allocations: 0 / 0.8116 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005566/0.6294, allocations: 155.4 kB / 0.8118 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004003/0.6298, allocations: 74.48 kB / 0.8118 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.173e-05/0.6299, allocations: 27.66 kB / 0.8119 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/0.6316, allocations: 1.652 MB / 0.8135 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6316, allocations: 4 kB / 0.8135 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.6335, allocations: 1.025 MB / 0.8145 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003446/0.6339, allocations: 279.3 kB / 0.8147 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.634, allocations: 27.09 kB / 0.8148 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006567/0.6347, allocations: 62.33 kB / 0.8148 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.6348, allocations: 71.97 kB / 0.8149 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.454e-05/0.6349, allocations: 34.88 kB / 0.8149 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005266/0.6354, allocations: 472.4 kB / 0.8154 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6354, allocations: 4 kB / 0.8154 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008099/0.6362, allocations: 335.7 kB / 0.8157 GB, free: 1.062 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 (94): * Single equations (assignments): 88 * 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.003294/0.6395, allocations: 2.059 MB / 0.8177 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001533/0.6411, allocations: 0.8272 MB / 0.8185 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6411, allocations: 0 / 0.8185 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008661/0.642, allocations: 0.5366 MB / 0.8191 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.6431, allocations: 312.7 kB / 0.8193 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00981/0.6529, allocations: 6.403 MB / 0.8256 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005624/0.6535, allocations: 1.035 MB / 0.8266 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007655/0.6543, allocations: 269.7 kB / 0.8269 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005145/0.6548, allocations: 400 kB / 0.8273 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.6548, allocations: 7.938 kB / 0.8273 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05075/0.7056, allocations: 22.7 MB / 0.8494 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.11, allocations: 9.641 kB / 0.8494 GB, free: 3.895 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)