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.0007637/0.000764, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.004469/0.004469, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.292/1.292, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00172/0.00172, allocations: 266.2 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9055/0.9055, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004196, allocations: 14.78 kB / 0.5988 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1409, allocations: 88.55 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.004499/0.1455, allocations: 4.186 MB / 0.6893 GB, free: 10.76 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4196/0.5651, allocations: 146.8 MB / 0.8327 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000387/0.5655, allocations: 14.94 kB / 0.8327 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000415/0.566, allocations: 141.2 kB / 0.8328 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.567, allocations: 465.6 kB / 0.8333 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.5685, allocations: 0.7723 MB / 0.834 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001197/0.5697, allocations: 1.332 MB / 0.8353 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008848/0.5706, allocations: 0.6771 MB / 0.836 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004363/0.571, allocations: 388.4 kB / 0.8364 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004537/0.5715, allocations: 438.3 kB / 0.8368 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.199e-05/0.5716, allocations: 30.62 kB / 0.8368 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005953/0.5722, allocations: 396.8 kB / 0.8372 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.5724, allocations: 210.9 kB / 0.8374 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003734/0.5728, allocations: 0.5072 MB / 0.8379 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.5741, allocations: 1.659 MB / 0.8395 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5741, allocations: 0 / 0.8395 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5741, allocations: 3.938 kB / 0.8395 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.5741, allocations: 0 / 0.8395 GB, free: 8.031 MB / 0.5606 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.002256/0.5764, allocations: 1.333 MB / 0.8408 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.5764, allocations: 8.156 kB / 0.8408 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001732/0.5766, allocations: 154.3 kB / 0.841 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000863/0.5775, allocations: 212.5 kB / 0.8412 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009741/0.5784, allocations: 0.7935 MB / 0.8419 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.279e-05/0.5785, allocations: 70.45 kB / 0.842 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.5786, allocations: 96.34 kB / 0.8421 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.5803, allocations: 1.077 MB / 0.8431 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.5803, allocations: 0 / 0.8431 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.325e-05/0.5804, allocations: 47.17 kB / 0.8432 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.5805, allocations: 24.62 kB / 0.8432 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.5822, allocations: 1.236 MB / 0.8444 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004152/0.5864, allocations: 2.962 MB / 0.8473 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.5879, allocations: 0.8975 MB / 0.8482 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005646/0.5885, allocations: 347.5 kB / 0.8485 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.599e-05/0.5886, allocations: 37.83 kB / 0.8486 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000885/0.5894, allocations: 0.5538 MB / 0.8491 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=92): time 1.884e-06/0.5895, allocations: 0 / 0.8491 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92): time 0.003072/0.5925, allocations: 1.348 MB / 0.8504 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/0.5926, allocations: 193 kB / 0.8506 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006973/0.5933, allocations: 0.6787 MB / 0.8513 GB, free: 156 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.342e-05/0.5934, allocations: 49.72 kB / 0.8513 GB, free: 108 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/0.5937, allocations: 447.8 kB / 0.8517 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.5939, allocations: 291.2 kB / 0.852 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.594, allocations: 74.33 kB / 0.8521 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.5942, allocations: 393.6 kB / 0.8525 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005156/0.5947, allocations: 285.7 kB / 0.8527 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005939/0.5953, allocations: 412.5 kB / 0.8531 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.5964, allocations: 0.6664 MB / 0.8538 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.5965, allocations: 2.562 kB / 0.8538 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001825/0.5983, allocations: 0.9049 MB / 0.8547 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.5983, allocations: 5.938 kB / 0.8547 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5983, allocations: 2.75 kB / 0.8547 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005737/0.5989, allocations: 88.73 kB / 0.8548 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006725/0.5996, allocations: 180 kB / 0.8549 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.6015, allocations: 1.518 MB / 0.8564 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000693/0.6022, allocations: 122.7 kB / 0.8565 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.31e-05/0.6023, allocations: 36.75 kB / 0.8566 GB, free: 12.15 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.0003819/0.6026, allocations: 280.7 kB / 0.8568 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.6028, allocations: 95.19 kB / 0.8569 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/0.6054, allocations: 1.242 MB / 0.8581 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.6054, allocations: 11.62 kB / 0.8581 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.6054, allocations: 4 kB / 0.8582 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.6054, allocations: 7.969 kB / 0.8582 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.6064, allocations: 1.004 MB / 0.8591 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6065, allocations: 0 / 0.8591 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006238/0.6071, allocations: 171.2 kB / 0.8593 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005289/0.6076, allocations: 103.7 kB / 0.8594 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-05/0.6077, allocations: 23.58 kB / 0.8594 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.6094, allocations: 1.543 MB / 0.8609 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6095, allocations: 0 / 0.8609 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.6114, allocations: 1.053 MB / 0.862 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/0.6118, allocations: 316.5 kB / 0.8623 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.6119, allocations: 22.03 kB / 0.8623 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006739/0.6126, allocations: 91.39 kB / 0.8624 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.6128, allocations: 83.48 kB / 0.8624 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.146e-05/0.6128, allocations: 41.56 kB / 0.8625 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005687/0.6134, allocations: 0.4917 MB / 0.863 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6134, allocations: 3.938 kB / 0.863 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008056/0.6142, allocations: 354.4 kB / 0.8633 GB, free: 7.484 MB / 0.5762 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.00347/0.6177, allocations: 2.127 MB / 0.8654 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001661/0.6194, allocations: 0.8982 MB / 0.8663 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.6194, allocations: 7.922 kB / 0.8663 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009679/0.6204, allocations: 0.5706 MB / 0.8668 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.6216, allocations: 276.8 kB / 0.8671 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/0.6343, allocations: 7.744 MB / 0.8747 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/0.6349, allocations: 1.078 MB / 0.8757 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008607/0.6358, allocations: 291.3 kB / 0.876 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005852/0.6363, allocations: 435.2 kB / 0.8764 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.6364, allocations: 0 / 0.8764 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03891/0.6753, allocations: 22.14 MB / 0.898 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.6755, allocations: 329.7 kB / 0.8983 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.306/2.982, allocations: 0 / 0.8983 GB, free: 4.98 MB / 0.6075 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)