Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.001578/0.001578, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 191.3 kB / 16.53 MB, free: 6.391 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002555/0.002555, allocations: 291 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.088/1.088, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002787/0.002787, allocations: 94.39 kB / 0.6065 GB, free: 24.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1426, allocations: 89.15 MB / 0.6936 GB, free: 4.191 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.00755/0.1501, allocations: 5.351 MB / 0.6988 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4131/0.5632, allocations: 150.8 MB / 0.8461 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000791/0.5641, allocations: 20.28 kB / 0.8461 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006475/0.5647, allocations: 209.7 kB / 0.8463 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.5666, allocations: 0.6074 MB / 0.8469 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.5687, allocations: 0.8781 MB / 0.8477 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001788/0.5705, allocations: 1.558 MB / 0.8493 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009619/0.5715, allocations: 0.666 MB / 0.8499 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007402/0.5722, allocations: 0.5555 MB / 0.8505 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000721/0.5729, allocations: 0.5972 MB / 0.851 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001832/0.5731, allocations: 136 kB / 0.8512 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008813/0.574, allocations: 495.6 kB / 0.8516 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003288/0.5744, allocations: 343.5 kB / 0.852 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006044/0.575, allocations: 0.6494 MB / 0.8526 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.577, allocations: 1.815 MB / 0.8544 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5771, allocations: 0 / 0.8544 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5771, allocations: 0 / 0.8544 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.2e-05/0.5771, allocations: 0 / 0.8544 GB, free: 1.086 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.003126/0.5802, allocations: 1.588 MB / 0.8559 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.5803, allocations: 9.75 kB / 0.8559 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002058/0.5805, allocations: 155.8 kB / 0.8561 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009774/0.5815, allocations: 201.9 kB / 0.8563 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.5826, allocations: 0.7973 MB / 0.8571 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.25e-05/0.5827, allocations: 82.78 kB / 0.8571 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.5829, allocations: 96.84 kB / 0.8572 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.5846, allocations: 1.068 MB / 0.8583 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.5847, allocations: 2.156 kB / 0.8583 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.5848, allocations: 42.03 kB / 0.8583 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.5848, allocations: 23.03 kB / 0.8583 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.5868, allocations: 1.223 MB / 0.8595 GB, free: 13.59 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.004823/0.5916, allocations: 3.206 MB / 0.8627 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.5933, allocations: 0.9 MB / 0.8635 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006091/0.5939, allocations: 343.1 kB / 0.8639 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.174e-05/0.594, allocations: 32.48 kB / 0.8639 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.595, allocations: 0.5536 MB / 0.8644 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=92): time 2.485e-06/0.595, allocations: 2.688 kB / 0.8644 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92): time 0.003499/0.5985, allocations: 1.341 MB / 0.8657 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.5987, allocations: 191.1 kB / 0.8659 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008107/0.5995, allocations: 0.6804 MB / 0.8666 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.373e-05/0.5996, allocations: 42.86 kB / 0.8666 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/0.5999, allocations: 451.6 kB / 0.8671 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.6002, allocations: 293.1 kB / 0.8673 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002625/0.6005, allocations: 173.2 kB / 0.8675 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002228/0.6007, allocations: 390.5 kB / 0.8679 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005753/0.6013, allocations: 286.9 kB / 0.8682 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006978/0.602, allocations: 406 kB / 0.8685 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.6033, allocations: 0.66 MB / 0.8692 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6033, allocations: 0 / 0.8692 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002132/0.6054, allocations: 0.91 MB / 0.8701 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.6054, allocations: 8.031 kB / 0.8701 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.6055, allocations: 2.125 kB / 0.8701 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006451/0.6061, allocations: 88.7 kB / 0.8702 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007795/0.6069, allocations: 179.7 kB / 0.8703 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/0.6093, allocations: 1.627 MB / 0.8719 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007457/0.6101, allocations: 97.36 kB / 0.872 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.219e-05/0.6101, allocations: 39.97 kB / 0.8721 GB, free: 4.031 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: 18 (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,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0004307/0.6106, allocations: 291.4 kB / 0.8723 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.6108, allocations: 94.06 kB / 0.8724 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003006/0.6138, allocations: 1.234 MB / 0.8736 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.6138, allocations: 12 kB / 0.8736 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.6138, allocations: 0 / 0.8736 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.6138, allocations: 3.984 kB / 0.8737 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.6151, allocations: 1.024 MB / 0.8747 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.6152, allocations: 0 / 0.8747 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007132/0.6159, allocations: 159.8 kB / 0.8748 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004972/0.6164, allocations: 80.78 kB / 0.8749 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.811e-05/0.6165, allocations: 27.97 kB / 0.8749 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002181/0.6186, allocations: 1.65 MB / 0.8765 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.6187, allocations: 3.938 kB / 0.8765 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/0.6211, allocations: 1.041 MB / 0.8775 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004228/0.6215, allocations: 311.4 kB / 0.8778 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.6217, allocations: 27.98 kB / 0.8779 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007179/0.6224, allocations: 59.94 kB / 0.8779 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.6226, allocations: 84.88 kB / 0.878 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-05/0.6227, allocations: 39.97 kB / 0.878 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006824/0.6234, allocations: 499 kB / 0.8785 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6234, allocations: 8 kB / 0.8785 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009392/0.6243, allocations: 371 kB / 0.8789 GB, free: 12.8 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.004685/0.629, allocations: 2.117 MB / 0.8809 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002896/0.6319, allocations: 1.132 MB / 0.8821 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6319, allocations: 0 / 0.8821 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.6331, allocations: 0.5823 MB / 0.8826 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.6344, allocations: 314.9 kB / 0.8829 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.6468, allocations: 7.095 MB / 0.8898 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000794/0.6476, allocations: 1.075 MB / 0.8909 GB, free: 428 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009891/0.6486, allocations: 303.5 kB / 0.8912 GB, free: 120 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006937/0.6493, allocations: 435.3 kB / 0.8916 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of SimCode: time 2.8e-07/0.6493, allocations: 4 kB / 0.8916 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06444/0.7138, allocations: 23.87 MB / 0.9149 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.86, allocations: 448 / 0.9149 GB, free: 8.246 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)