Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_10_Buildings_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.004648/0.004648, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001334/0.001334, allocations: 197.6 kB / 16.68 MB, free: 5.977 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.226/1.226, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.243/2.243, allocations: 437.1 MB / 0.7106 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 59.91 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2322, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006183/0.2384, allocations: 5.145 MB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.5844/0.8228, allocations: 150.7 MB / 1.318 GB, free: 10 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000613/0.8234, allocations: 19.97 kB / 1.318 GB, free: 9.996 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005062/0.8239, allocations: 201.3 kB / 1.319 GB, free: 9.887 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.8253, allocations: 0.5574 MB / 1.319 GB, free: 9.633 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.8269, allocations: 0.8513 MB / 1.32 GB, free: 9.469 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00108/0.8279, allocations: 1.438 MB / 1.321 GB, free: 9.191 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007291/0.8287, allocations: 0.6583 MB / 1.322 GB, free: 9.016 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004545/0.8291, allocations: 0.5063 MB / 1.322 GB, free: 8.91 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00053/0.8297, allocations: 0.5418 MB / 1.323 GB, free: 8.773 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.8298, allocations: 126.4 kB / 1.323 GB, free: 8.773 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006687/0.8305, allocations: 0.4893 MB / 1.324 GB, free: 8.742 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002522/0.8308, allocations: 314.3 kB / 1.324 GB, free: 8.684 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005185/0.8313, allocations: 0.6031 MB / 1.324 GB, free: 8.301 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001715/0.833, allocations: 1.745 MB / 1.326 GB, free: 7.562 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.833, allocations: 0 / 1.326 GB, free: 7.562 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.092e-06/0.833, allocations: 0 / 1.326 GB, free: 7.562 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.8331, allocations: 0 / 1.326 GB, free: 7.562 MB / 1.014 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.002335/0.8354, allocations: 1.541 MB / 1.328 GB, free: 6.516 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.8354, allocations: 9.25 kB / 1.328 GB, free: 6.516 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000168/0.8356, allocations: 148.6 kB / 1.328 GB, free: 6.418 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009831/0.8366, allocations: 222.5 kB / 1.328 GB, free: 6.344 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.8377, allocations: 0.7853 MB / 1.329 GB, free: 5.828 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.471e-05/0.8377, allocations: 74.98 kB / 1.329 GB, free: 5.797 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.8379, allocations: 89.95 kB / 1.329 GB, free: 5.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.8394, allocations: 1.01 MB / 1.33 GB, free: 5.316 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.8394, allocations: 2.406 kB / 1.33 GB, free: 5.316 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.441e-05/0.8395, allocations: 37.22 kB / 1.33 GB, free: 5.289 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.8395, allocations: 24.27 kB / 1.33 GB, free: 5.289 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.8413, allocations: 1.178 MB / 1.331 GB, free: 5.012 MB / 1.014 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.003675/0.845, allocations: 2.863 MB / 1.334 GB, free: 3.301 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/0.8472, allocations: 0.9776 MB / 1.335 GB, free: 2.879 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005498/0.8477, allocations: 325.5 kB / 1.335 GB, free: 2.75 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.864e-05/0.8478, allocations: 34.36 kB / 1.335 GB, free: 2.738 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007936/0.8486, allocations: 0.4973 MB / 1.336 GB, free: 2.539 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 1.804e-06/0.8486, allocations: 0 / 1.336 GB, free: 2.539 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.002946/0.8516, allocations: 1.24 MB / 1.337 GB, free: 2.023 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.8517, allocations: 193.6 kB / 1.337 GB, free: 1.801 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006845/0.8524, allocations: 0.6447 MB / 1.338 GB, free: 1.516 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.137e-05/0.8524, allocations: 42.67 kB / 1.338 GB, free: 1.473 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/0.8527, allocations: 428.7 kB / 1.338 GB, free: 1.141 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/0.8529, allocations: 277 kB / 1.338 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.8532, allocations: 151.4 kB / 1.339 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.8533, allocations: 390.4 kB / 1.339 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004894/0.8538, allocations: 254.5 kB / 1.339 GB, free: 428 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005912/0.8544, allocations: 369.8 kB / 1.34 GB, free: 236 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.8555, allocations: 0.6009 MB / 1.34 GB, free: 15.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.8555, allocations: 0 / 1.34 GB, free: 15.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001744/0.8573, allocations: 0.8284 MB / 1.341 GB, free: 15.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.8573, allocations: 12.34 kB / 1.341 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.8573, allocations: 1.344 kB / 1.341 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005151/0.8578, allocations: 79.38 kB / 1.341 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005693/0.8584, allocations: 158.5 kB / 1.341 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.8603, allocations: 1.627 MB / 1.343 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005763/0.8609, allocations: 93.86 kB / 1.343 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.044e-05/0.861, allocations: 35.89 kB / 1.343 GB, free: 13.98 MB / 1.029 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.0003389/0.8613, allocations: 277.4 kB / 1.343 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.8615, allocations: 87.53 kB / 1.343 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/0.8637, allocations: 1.094 MB / 1.344 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.8637, allocations: 16.14 kB / 1.344 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.8637, allocations: 0 / 1.344 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.497e-06/0.8638, allocations: 4.5 kB / 1.344 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002948/0.8667, allocations: 2.01 MB / 1.346 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.8667, allocations: 0 / 1.346 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005337/0.8673, allocations: 149.9 kB / 1.346 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003849/0.8677, allocations: 72.64 kB / 1.347 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.852e-05/0.8677, allocations: 25.36 kB / 1.347 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.8695, allocations: 1.673 MB / 1.348 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.8695, allocations: 1.125 kB / 1.348 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.8714, allocations: 1.024 MB / 1.349 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.8717, allocations: 279.8 kB / 1.349 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.8718, allocations: 17.59 kB / 1.35 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006033/0.8724, allocations: 66.23 kB / 1.35 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.8726, allocations: 75 kB / 1.35 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.465e-05/0.8726, allocations: 41.62 kB / 1.35 GB, free: 10.01 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000491/0.8731, allocations: 465.7 kB / 1.35 GB, free: 9.809 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8732, allocations: 1.469 kB / 1.35 GB, free: 9.809 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007501/0.8739, allocations: 346.5 kB / 1.35 GB, free: 9.707 MB / 1.029 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.003734/0.8777, allocations: 2.068 MB / 1.352 GB, free: 8.551 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001503/0.8792, allocations: 0.8274 MB / 1.353 GB, free: 8.203 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.8792, allocations: 1.344 kB / 1.353 GB, free: 8.203 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008658/0.88, allocations: 0.5359 MB / 1.354 GB, free: 7.949 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.8812, allocations: 303.3 kB / 1.354 GB, free: 7.859 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008859/0.89, allocations: 6.453 MB / 1.36 GB, free: 4.223 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/0.8906, allocations: 1.043 MB / 1.361 GB, free: 3.367 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006816/0.8913, allocations: 279 kB / 1.362 GB, free: 3.223 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000521/0.8918, allocations: 400.4 kB / 1.362 GB, free: 2.902 MB / 1.029 GB Notification: Performance of SimCode: time 2.31e-07/0.8918, allocations: 0 / 1.362 GB, free: 2.902 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.371/3.263, allocations: 22.29 MB / 1.384 GB, free: 5.484 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.58/21.84, allocations: 9.312 kB / 1.384 GB, free: 5.48 MB / 1.045 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)