Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_9_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.001197/0.001197, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001196/0.001196, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.158/1.158, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.019/2.019, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 67.89 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4613/0.4624, allocations: 140.4 MB / 0.949 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.003943/0.4664, allocations: 4.396 MB / 0.9533 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1227/0.5892, allocations: 148.3 MB / 1.098 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000669/0.5899, allocations: 15.88 kB / 1.098 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000506/0.5904, allocations: 138.9 kB / 1.098 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.5918, allocations: 437.3 kB / 1.099 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.5933, allocations: 0.7205 MB / 1.099 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00108/0.5944, allocations: 1.23 MB / 1.101 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007567/0.5952, allocations: 0.6739 MB / 1.101 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004883/0.5957, allocations: 446.1 kB / 1.102 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004735/0.5962, allocations: 0.4899 MB / 1.102 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.5963, allocations: 68 kB / 1.102 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006601/0.597, allocations: 407.6 kB / 1.103 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002068/0.5972, allocations: 251 kB / 1.103 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004022/0.5976, allocations: 0.5243 MB / 1.103 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.5989, allocations: 1.604 MB / 1.105 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.5989, allocations: 0 / 1.105 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.01e-07/0.5989, allocations: 0 / 1.105 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.515e-05/0.5989, allocations: 0 / 1.105 GB, free: 1.879 MB / 0.8575 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.002316/0.6012, allocations: 1.477 MB / 1.106 GB, free: 364 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.6013, allocations: 12.03 kB / 1.106 GB, free: 352 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.6014, allocations: 148.1 kB / 1.107 GB, free: 196 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.6024, allocations: 215.4 kB / 1.107 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008711/0.6033, allocations: 0.7615 MB / 1.107 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.996e-05/0.6034, allocations: 70 kB / 1.108 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.6035, allocations: 92 kB / 1.108 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.605, allocations: 1.015 MB / 1.109 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.605, allocations: 3.938 kB / 1.109 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.76e-05/0.6051, allocations: 40 kB / 1.109 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.6051, allocations: 28 kB / 1.109 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.6068, allocations: 1.171 MB / 1.11 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003463/0.6102, allocations: 2.616 MB / 1.112 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.6124, allocations: 0.9693 MB / 1.113 GB, free: 9.027 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005121/0.6129, allocations: 314.7 kB / 1.114 GB, free: 8.719 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.18e-05/0.613, allocations: 32.61 kB / 1.114 GB, free: 8.688 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008036/0.6138, allocations: 0.4953 MB / 1.114 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 1.913e-06/0.6138, allocations: 0 / 1.114 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.002819/0.6166, allocations: 1.225 MB / 1.115 GB, free: 6.918 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/0.6167, allocations: 192.6 kB / 1.116 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006209/0.6173, allocations: 0.6333 MB / 1.116 GB, free: 6.051 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.911e-05/0.6174, allocations: 41.7 kB / 1.116 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.6176, allocations: 432.1 kB / 1.117 GB, free: 5.574 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.6178, allocations: 272.2 kB / 1.117 GB, free: 5.305 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.618, allocations: 146.5 kB / 1.117 GB, free: 5.156 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.6182, allocations: 386.8 kB / 1.117 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004813/0.6187, allocations: 253.9 kB / 1.118 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005602/0.6192, allocations: 366.5 kB / 1.118 GB, free: 4.137 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009979/0.6202, allocations: 0.6072 MB / 1.119 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6202, allocations: 0 / 1.119 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0017/0.6219, allocations: 0.8174 MB / 1.119 GB, free: 2.691 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.622, allocations: 8 kB / 1.119 GB, free: 2.684 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.622, allocations: 0 / 1.119 GB, free: 2.684 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005383/0.6225, allocations: 84.86 kB / 1.119 GB, free: 2.598 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.6231, allocations: 155.7 kB / 1.12 GB, free: 2.445 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02151/0.6446, allocations: 1.513 MB / 1.121 GB, free: 0.793 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007568/0.6454, allocations: 101.3 kB / 1.121 GB, free: 0.6953 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.034e-05/0.6455, allocations: 28.05 kB / 1.121 GB, free: 0.668 MB / 0.8731 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.000321/0.6458, allocations: 281.7 kB / 1.121 GB, free: 392 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.646, allocations: 86.97 kB / 1.122 GB, free: 304 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002212/0.6482, allocations: 1.089 MB / 1.123 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.6482, allocations: 15.94 kB / 1.123 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.6482, allocations: 0 / 1.123 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.6482, allocations: 7.984 kB / 1.123 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/0.6512, allocations: 2.013 MB / 1.125 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6512, allocations: 0 / 1.125 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00057/0.6518, allocations: 151.8 kB / 1.125 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004929/0.6523, allocations: 88.7 kB / 1.125 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.014e-05/0.6524, allocations: 23.98 kB / 1.125 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.654, allocations: 1.54 MB / 1.126 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.654, allocations: 8.031 kB / 1.126 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.6558, allocations: 1.016 MB / 1.127 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/0.6561, allocations: 283.6 kB / 1.128 GB, free: 9.812 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.6562, allocations: 20 kB / 1.128 GB, free: 9.793 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006275/0.6569, allocations: 59.94 kB / 1.128 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.657, allocations: 76.89 kB / 1.128 GB, free: 9.656 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.495e-05/0.6571, allocations: 35.97 kB / 1.128 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004929/0.6576, allocations: 471 kB / 1.128 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.342e-06/0.6576, allocations: 4 kB / 1.128 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007297/0.6583, allocations: 327 kB / 1.129 GB, free: 8.844 MB / 0.8887 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.003129/0.6615, allocations: 2.068 MB / 1.131 GB, free: 6.93 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001456/0.6629, allocations: 0.8156 MB / 1.131 GB, free: 6.102 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6629, allocations: 0 / 1.131 GB, free: 6.102 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008437/0.6638, allocations: 0.5278 MB / 1.132 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.6648, allocations: 269.9 kB / 1.132 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.6758, allocations: 7.19 MB / 1.139 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.6763, allocations: 1.043 MB / 1.14 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007418/0.6771, allocations: 266.7 kB / 1.14 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004919/0.6776, allocations: 403.3 kB / 1.141 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of SimCode: time 3.01e-07/0.6776, allocations: 0 / 1.141 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.501/6.178, allocations: 20.82 MB / 1.161 GB, free: 7.793 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002645/6.179, allocations: 321.1 kB / 1.161 GB, free: 7.41 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.758/8.936, allocations: 0 / 1.161 GB, free: 7.41 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)