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.001261/0.001261, 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.001229/0.001229, allocations: 193.9 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.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002091/0.002091, allocations: 287 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9227/0.9227, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 106.5 kB / 0.5953 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1255, allocations: 86.97 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.005768/0.1313, allocations: 4.62 MB / 0.6848 GB, free: 11.97 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3867/0.5181, allocations: 150.7 MB / 0.8319 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006289/0.5187, allocations: 16.5 kB / 0.832 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004417/0.5192, allocations: 183.2 kB / 0.8321 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.5205, allocations: 0.5462 MB / 0.8327 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.522, allocations: 0.869 MB / 0.8335 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009369/0.523, allocations: 1.431 MB / 0.8349 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007593/0.5237, allocations: 0.7183 MB / 0.8356 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004866/0.5242, allocations: 0.539 MB / 0.8361 GB, free: 356 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004811/0.5247, allocations: 0.5702 MB / 0.8367 GB, free: 224 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.5249, allocations: 136.1 kB / 0.8368 GB, free: 224 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007171/0.5256, allocations: 0.4915 MB / 0.8373 GB, free: 200 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.5259, allocations: 343.7 kB / 0.8376 GB, free: 144 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004174/0.5263, allocations: 0.6224 MB / 0.8382 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.5277, allocations: 1.772 MB / 0.84 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5277, allocations: 2.391 kB / 0.84 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5277, allocations: 7.938 kB / 0.84 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.5277, allocations: 3.75 kB / 0.84 GB, free: 15.69 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.002486/0.5302, allocations: 1.562 MB / 0.8415 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.5303, allocations: 9.625 kB / 0.8415 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/0.5305, allocations: 164.1 kB / 0.8417 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009067/0.5314, allocations: 200.9 kB / 0.8419 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009875/0.5324, allocations: 0.7934 MB / 0.8426 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.322e-05/0.5324, allocations: 76.86 kB / 0.8427 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.5325, allocations: 96.62 kB / 0.8428 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.5342, allocations: 1.064 MB / 0.8439 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.5343, allocations: 0 / 0.8439 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.674e-05/0.5344, allocations: 42.25 kB / 0.8439 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.5344, allocations: 30.19 kB / 0.8439 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.5362, allocations: 1.226 MB / 0.8451 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004138/0.5404, allocations: 2.926 MB / 0.848 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/0.5419, allocations: 0.892 MB / 0.8488 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000562/0.5425, allocations: 344.9 kB / 0.8492 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.269e-05/0.5426, allocations: 40.38 kB / 0.8492 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009025/0.5435, allocations: 0.5482 MB / 0.8498 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=92): time 2.154e-06/0.5435, allocations: 0 / 0.8498 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92): time 0.003196/0.5467, allocations: 1.337 MB / 0.8511 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.905e-05/0.5468, allocations: 188.7 kB / 0.8512 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007324/0.5475, allocations: 0.6823 MB / 0.8519 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.433e-05/0.5476, allocations: 46.83 kB / 0.8519 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002884/0.5479, allocations: 444.1 kB / 0.8524 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.5481, allocations: 298 kB / 0.8527 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.5484, allocations: 171.5 kB / 0.8528 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.5486, allocations: 391.2 kB / 0.8532 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005458/0.5491, allocations: 284.5 kB / 0.8535 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006389/0.5498, allocations: 405 kB / 0.8538 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.5509, allocations: 0.6601 MB / 0.8545 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5509, allocations: 0 / 0.8545 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001969/0.5529, allocations: 0.908 MB / 0.8554 GB, free: 6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.5529, allocations: 2.75 kB / 0.8554 GB, free: 6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.553, allocations: 6.062 kB / 0.8554 GB, free: 6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005738/0.5535, allocations: 86.17 kB / 0.8555 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006781/0.5542, allocations: 171.8 kB / 0.8556 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.5562, allocations: 1.632 MB / 0.8572 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006839/0.5569, allocations: 103.8 kB / 0.8573 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.364e-05/0.5569, allocations: 34.31 kB / 0.8574 GB, free: 4.234 MB / 0.5762 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.0003599/0.5573, allocations: 284 kB / 0.8576 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.5575, allocations: 92.11 kB / 0.8577 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002614/0.5601, allocations: 1.233 MB / 0.8589 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.5601, allocations: 13.67 kB / 0.8589 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5601, allocations: 0 / 0.8589 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.5601, allocations: 7.922 kB / 0.8589 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.5612, allocations: 1.011 MB / 0.8599 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5612, allocations: 0 / 0.8599 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006406/0.5618, allocations: 174.5 kB / 0.8601 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004326/0.5623, allocations: 68.03 kB / 0.8602 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.997e-05/0.5623, allocations: 29.69 kB / 0.8602 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/0.5641, allocations: 1.663 MB / 0.8618 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5641, allocations: 8 kB / 0.8618 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/0.5662, allocations: 1.042 MB / 0.8628 GB, free: 268 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/0.5665, allocations: 296.8 kB / 0.8631 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.5667, allocations: 32.45 kB / 0.8632 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006787/0.5674, allocations: 66.58 kB / 0.8632 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.5675, allocations: 86.94 kB / 0.8633 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-05/0.5676, allocations: 36.83 kB / 0.8633 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005465/0.5682, allocations: 0.4921 MB / 0.8638 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5682, allocations: 2.344 kB / 0.8638 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007566/0.569, allocations: 353.6 kB / 0.8642 GB, free: 15.52 MB / 0.5919 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.003424/0.5724, allocations: 2.125 MB / 0.8662 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002417/0.5748, allocations: 1.127 MB / 0.8673 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5748, allocations: 0 / 0.8673 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009384/0.5758, allocations: 0.5725 MB / 0.8679 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.5769, allocations: 306.7 kB / 0.8682 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.5881, allocations: 7.197 MB / 0.8752 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006139/0.5888, allocations: 1.079 MB / 0.8763 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008846/0.5897, allocations: 279.3 kB / 0.8765 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000596/0.5903, allocations: 443.2 kB / 0.877 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.5903, allocations: 0 / 0.877 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04682/0.6371, allocations: 23.31 MB / 0.8997 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.36, allocations: 15.81 kB / 0.8997 GB, free: 15.88 MB / 0.6231 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)