Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_11_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.005071/0.005071, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001413/0.001413, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.77/2.77, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 64.11 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2685, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.0065/0.275, allocations: 5.129 MB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.631/0.906, allocations: 150.7 MB / 1.372 GB, free: 10.88 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006414/0.9067, allocations: 17.12 kB / 1.372 GB, free: 10.88 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005142/0.9072, allocations: 195.5 kB / 1.372 GB, free: 10.75 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.9086, allocations: 0.5693 MB / 1.373 GB, free: 10.42 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.9103, allocations: 0.842 MB / 1.374 GB, free: 9.988 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001273/0.9116, allocations: 1.451 MB / 1.375 GB, free: 9.234 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008121/0.9124, allocations: 0.6493 MB / 1.376 GB, free: 8.895 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005309/0.9129, allocations: 0.5096 MB / 1.376 GB, free: 8.637 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005631/0.9135, allocations: 0.5491 MB / 1.377 GB, free: 8.344 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.9137, allocations: 125.5 kB / 1.377 GB, free: 8.344 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007499/0.9144, allocations: 497.3 kB / 1.378 GB, free: 8.227 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002727/0.9147, allocations: 310.6 kB / 1.378 GB, free: 8.031 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005137/0.9152, allocations: 0.6136 MB / 1.378 GB, free: 7.625 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.9169, allocations: 1.743 MB / 1.38 GB, free: 6.656 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.9169, allocations: 0 / 1.38 GB, free: 6.656 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9169, allocations: 1.406 kB / 1.38 GB, free: 6.656 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.9169, allocations: 0 / 1.38 GB, free: 6.656 MB / 1.076 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.002421/0.9194, allocations: 1.541 MB / 1.382 GB, free: 5.438 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.9194, allocations: 10.28 kB / 1.382 GB, free: 5.438 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/0.9196, allocations: 147.9 kB / 1.382 GB, free: 5.316 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.9206, allocations: 223 kB / 1.382 GB, free: 5.207 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.9217, allocations: 0.7894 MB / 1.383 GB, free: 4.555 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.734e-05/0.9218, allocations: 73.84 kB / 1.383 GB, free: 4.523 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.9219, allocations: 92.89 kB / 1.383 GB, free: 4.492 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.9235, allocations: 1.005 MB / 1.384 GB, free: 3.855 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.9236, allocations: 0 / 1.384 GB, free: 3.855 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.905e-05/0.9237, allocations: 41.38 kB / 1.384 GB, free: 3.824 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.9237, allocations: 22.81 kB / 1.384 GB, free: 3.824 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.9256, allocations: 1.177 MB / 1.385 GB, free: 3.262 MB / 1.076 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.003904/0.9295, allocations: 2.863 MB / 1.388 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/0.9318, allocations: 0.9743 MB / 1.389 GB, free: 448 kB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005629/0.9324, allocations: 319.9 kB / 1.389 GB, free: 284 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.34e-05/0.9324, allocations: 36.28 kB / 1.389 GB, free: 264 kB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008565/0.9333, allocations: 0.5022 MB / 1.39 GB, free: 15.93 MB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 1.974e-06/0.9333, allocations: 1.219 kB / 1.39 GB, free: 15.93 MB / 1.092 GB Notification: Performance of matching and sorting (n=82): time 0.003037/0.9364, allocations: 1.228 MB / 1.391 GB, free: 15.27 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.9365, allocations: 193.6 kB / 1.391 GB, free: 15.04 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007225/0.9372, allocations: 0.6429 MB / 1.392 GB, free: 14.67 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.076e-05/0.9373, allocations: 42.89 kB / 1.392 GB, free: 14.63 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.9376, allocations: 434 kB / 1.392 GB, free: 14.25 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000207/0.9378, allocations: 278.7 kB / 1.392 GB, free: 14.01 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.938, allocations: 148.5 kB / 1.393 GB, free: 13.92 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.9382, allocations: 390.1 kB / 1.393 GB, free: 13.55 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005153/0.9387, allocations: 257.1 kB / 1.393 GB, free: 13.42 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006408/0.9394, allocations: 368.7 kB / 1.394 GB, free: 13.19 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.9405, allocations: 0.6041 MB / 1.394 GB, free: 12.87 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9405, allocations: 0 / 1.394 GB, free: 12.87 MB / 1.092 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001809/0.9423, allocations: 0.8304 MB / 1.395 GB, free: 12.44 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.9423, allocations: 10.03 kB / 1.395 GB, free: 12.43 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.9424, allocations: 1.281 kB / 1.395 GB, free: 12.43 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005421/0.9429, allocations: 81.44 kB / 1.395 GB, free: 12.39 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006/0.9435, allocations: 159 kB / 1.395 GB, free: 12.36 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.9455, allocations: 1.618 MB / 1.397 GB, free: 10.77 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006097/0.9461, allocations: 96.17 kB / 1.397 GB, free: 10.7 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/0.9462, allocations: 40.47 kB / 1.397 GB, free: 10.68 MB / 1.092 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.0003443/0.9465, allocations: 281 kB / 1.397 GB, free: 10.46 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.9467, allocations: 91.5 kB / 1.397 GB, free: 10.41 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.949, allocations: 1.095 MB / 1.398 GB, free: 9.797 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.949, allocations: 13.16 kB / 1.398 GB, free: 9.793 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.949, allocations: 1.156 kB / 1.398 GB, free: 9.793 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.949, allocations: 3.984 kB / 1.398 GB, free: 9.789 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003091/0.9521, allocations: 2.007 MB / 1.4 GB, free: 8.461 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.9521, allocations: 0 / 1.4 GB, free: 8.461 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/0.9527, allocations: 151.1 kB / 1.4 GB, free: 8.426 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004061/0.9531, allocations: 69.64 kB / 1.401 GB, free: 8.391 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.226e-05/0.9532, allocations: 30.47 kB / 1.401 GB, free: 8.371 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.955, allocations: 1.668 MB / 1.402 GB, free: 6.738 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.955, allocations: 0 / 1.402 GB, free: 6.738 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.9569, allocations: 1.022 MB / 1.403 GB, free: 6.164 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/0.9573, allocations: 282.1 kB / 1.403 GB, free: 5.918 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.9574, allocations: 17.16 kB / 1.403 GB, free: 5.906 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006475/0.958, allocations: 73.55 kB / 1.404 GB, free: 5.867 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.9582, allocations: 65.12 kB / 1.404 GB, free: 5.836 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.985e-05/0.9583, allocations: 42.03 kB / 1.404 GB, free: 5.82 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005025/0.9588, allocations: 467.5 kB / 1.404 GB, free: 5.555 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9588, allocations: 0 / 1.404 GB, free: 5.555 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007678/0.9596, allocations: 348.9 kB / 1.404 GB, free: 5.445 MB / 1.092 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.003882/0.9634, allocations: 2.085 MB / 1.406 GB, free: 4.141 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001525/0.965, allocations: 0.8223 MB / 1.407 GB, free: 3.707 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.965, allocations: 2.594 kB / 1.407 GB, free: 3.707 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008933/0.9659, allocations: 0.5299 MB / 1.408 GB, free: 3.402 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.9671, allocations: 303.9 kB / 1.408 GB, free: 3.25 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009777/0.9768, allocations: 6.454 MB / 1.414 GB, free: 13.86 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006612/0.9775, allocations: 1.043 MB / 1.415 GB, free: 12.78 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0007661/0.9783, allocations: 274.9 kB / 1.416 GB, free: 12.51 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005549/0.9789, allocations: 403.1 kB / 1.416 GB, free: 12.12 MB / 1.107 GB Notification: Performance of SimCode: time 2.1e-07/0.9789, allocations: 0 / 1.416 GB, free: 12.12 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.63/3.609, allocations: 22.28 MB / 1.438 GB, free: 6.191 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.33/24.93, allocations: 6.719 kB / 1.438 GB, free: 6.188 MB / 1.123 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)