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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001192/0.001192, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001154/0.001154, allocations: 194.7 kB / 16.26 MB, free: 6.621 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.214/1.214, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.031/2.031, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 71.88 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4566/0.4578, allocations: 140.4 MB / 0.9492 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004268/0.4621, allocations: 4.382 MB / 0.9535 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1238/0.5859, allocations: 148.4 MB / 1.098 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007137/0.5866, allocations: 15.94 kB / 1.098 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005597/0.5872, allocations: 138.9 kB / 1.099 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.5888, allocations: 457.4 kB / 1.099 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.5905, allocations: 0.7526 MB / 1.1 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001183/0.5917, allocations: 1.312 MB / 1.101 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007942/0.5925, allocations: 0.6945 MB / 1.102 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005507/0.5931, allocations: 0.4905 MB / 1.102 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005546/0.5937, allocations: 0.5366 MB / 1.103 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001702/0.5938, allocations: 124 kB / 1.103 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000686/0.5945, allocations: 471.6 kB / 1.103 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002401/0.5948, allocations: 315 kB / 1.104 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004387/0.5952, allocations: 0.5829 MB / 1.104 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.5967, allocations: 1.651 MB / 1.106 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5967, allocations: 0 / 1.106 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5967, allocations: 4 kB / 1.106 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.781e-05/0.5967, allocations: 0 / 1.106 GB, free: 1.184 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.002433/0.5991, allocations: 1.481 MB / 1.107 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.5992, allocations: 8.031 kB / 1.107 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001545/0.5993, allocations: 148.1 kB / 1.107 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.6004, allocations: 223.1 kB / 1.108 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008864/0.6013, allocations: 0.7653 MB / 1.108 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.462e-05/0.6013, allocations: 70 kB / 1.108 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.6014, allocations: 92 kB / 1.108 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.603, allocations: 1.003 MB / 1.109 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.603, allocations: 4 kB / 1.109 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.133e-05/0.6031, allocations: 44 kB / 1.109 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.6031, allocations: 24 kB / 1.109 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.6048, allocations: 1.171 MB / 1.111 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003523/0.6083, allocations: 2.619 MB / 1.113 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.6105, allocations: 0.9732 MB / 1.114 GB, free: 8.336 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005029/0.611, allocations: 314.7 kB / 1.114 GB, free: 8.027 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.06e-05/0.6111, allocations: 32.59 kB / 1.114 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008201/0.6119, allocations: 0.4991 MB / 1.115 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 1.794e-06/0.6119, allocations: 0 / 1.115 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.002813/0.6147, allocations: 1.217 MB / 1.116 GB, free: 6.23 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/0.6148, allocations: 192.6 kB / 1.116 GB, free: 6 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006206/0.6154, allocations: 0.6372 MB / 1.117 GB, free: 5.355 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.088e-05/0.6155, allocations: 49.64 kB / 1.117 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.6157, allocations: 432.1 kB / 1.117 GB, free: 4.871 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.6159, allocations: 264.2 kB / 1.118 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.6161, allocations: 150.5 kB / 1.118 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.6162, allocations: 386.8 kB / 1.118 GB, free: 4.07 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004666/0.6167, allocations: 249.9 kB / 1.118 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005487/0.6173, allocations: 370.5 kB / 1.119 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.6183, allocations: 0.5994 MB / 1.119 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6183, allocations: 0 / 1.119 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001712/0.62, allocations: 0.8253 MB / 1.12 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.62, allocations: 6.031 kB / 1.12 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.62, allocations: 0 / 1.12 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005503/0.6206, allocations: 80.86 kB / 1.12 GB, free: 1.902 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/0.6212, allocations: 163.8 kB / 1.12 GB, free: 1.742 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/0.623, allocations: 1.631 MB / 1.122 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005826/0.6236, allocations: 95.17 kB / 1.122 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.839e-05/0.6236, allocations: 31.97 kB / 1.122 GB, free: 15.84 MB / 0.8887 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.0003055/0.624, allocations: 277.6 kB / 1.122 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.6241, allocations: 82.97 kB / 1.122 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/0.6263, allocations: 1.093 MB / 1.124 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.6263, allocations: 11.98 kB / 1.124 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.6263, allocations: 0 / 1.124 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.6264, allocations: 7.969 kB / 1.124 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002851/0.6292, allocations: 2.017 MB / 1.126 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.6292, allocations: 0 / 1.126 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005795/0.6298, allocations: 151.8 kB / 1.126 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004015/0.6302, allocations: 68.8 kB / 1.126 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-05/0.6303, allocations: 27.97 kB / 1.126 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.6319, allocations: 1.662 MB / 1.127 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6319, allocations: 0 / 1.127 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.6337, allocations: 1.016 MB / 1.128 GB, free: 9.188 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000283/0.634, allocations: 275.7 kB / 1.129 GB, free: 8.898 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.6341, allocations: 31.94 kB / 1.129 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006406/0.6347, allocations: 63.92 kB / 1.129 GB, free: 8.805 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.6349, allocations: 64.91 kB / 1.129 GB, free: 8.738 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.565e-05/0.6349, allocations: 43.91 kB / 1.129 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004466/0.6354, allocations: 471 kB / 1.129 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6354, allocations: 4 kB / 1.129 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006584/0.6361, allocations: 319.1 kB / 1.13 GB, free: 7.922 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.003066/0.6391, allocations: 2.065 MB / 1.132 GB, free: 6.004 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002011/0.6412, allocations: 1.022 MB / 1.133 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6412, allocations: 0 / 1.133 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008354/0.642, allocations: 0.5317 MB / 1.133 GB, free: 4.43 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.6431, allocations: 298 kB / 1.133 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.6537, allocations: 7.187 MB / 1.14 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.6542, allocations: 1.047 MB / 1.141 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007177/0.6549, allocations: 262.8 kB / 1.142 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000468/0.6554, allocations: 403.3 kB / 1.142 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/0.6554, allocations: 0 / 1.142 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8843/1.54, allocations: 21.4 MB / 1.163 GB, free: 6.082 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002516/1.54, allocations: 318.2 kB / 1.163 GB, free: 5.699 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/3.997, allocations: 0 / 1.163 GB, free: 5.699 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)