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.001466/0.001466, 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.00176/0.00176, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002192/0.002192, allocations: 275 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.061/1.061, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003341/0.003341, allocations: 104 kB / 0.5954 GB, free: 27.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1881, allocations: 86.97 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.007833/0.1959, allocations: 4.611 MB / 0.6848 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4874/0.6834, allocations: 150.7 MB / 0.8319 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008453/0.6842, allocations: 20.44 kB / 0.832 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006056/0.6848, allocations: 182.3 kB / 0.8321 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001671/0.6866, allocations: 0.5489 MB / 0.8327 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.6884, allocations: 0.8759 MB / 0.8335 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001319/0.6897, allocations: 1.431 MB / 0.8349 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008705/0.6906, allocations: 0.7159 MB / 0.8356 GB, free: 460 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006561/0.6913, allocations: 0.5364 MB / 0.8361 GB, free: 352 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005869/0.6919, allocations: 0.569 MB / 0.8367 GB, free: 224 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001943/0.6921, allocations: 140 kB / 0.8368 GB, free: 220 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009517/0.693, allocations: 0.4926 MB / 0.8373 GB, free: 196 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002816/0.6933, allocations: 339.4 kB / 0.8376 GB, free: 144 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005607/0.6939, allocations: 0.6305 MB / 0.8383 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001684/0.6956, allocations: 1.77 MB / 0.84 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6956, allocations: 0 / 0.84 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6956, allocations: 0 / 0.84 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.153e-05/0.6957, allocations: 0 / 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.002787/0.6984, allocations: 1.576 MB / 0.8415 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.6985, allocations: 9.5 kB / 0.8415 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001687/0.6987, allocations: 152.6 kB / 0.8417 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009516/0.6996, allocations: 203.4 kB / 0.8419 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.7007, allocations: 0.7952 MB / 0.8427 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.01e-05/0.7008, allocations: 72.83 kB / 0.8427 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.7009, allocations: 103.3 kB / 0.8428 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.7027, allocations: 1.063 MB / 0.8439 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.7027, allocations: 0 / 0.8439 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-05/0.7028, allocations: 46.02 kB / 0.8439 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.7028, allocations: 24.16 kB / 0.8439 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.7047, allocations: 1.221 MB / 0.8451 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004365/0.7091, allocations: 2.935 MB / 0.848 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.7106, allocations: 0.8921 MB / 0.8489 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000574/0.7112, allocations: 342.6 kB / 0.8492 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.557e-05/0.7113, allocations: 38.38 kB / 0.8492 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.7123, allocations: 0.5501 MB / 0.8498 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=92): time 2.064e-06/0.7123, allocations: 0 / 0.8498 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92): time 0.003402/0.7157, allocations: 1.337 MB / 0.8511 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.7158, allocations: 198.5 kB / 0.8512 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008455/0.7167, allocations: 0.6765 MB / 0.8519 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.027e-05/0.7168, allocations: 42.98 kB / 0.852 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.7171, allocations: 443.3 kB / 0.8524 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.7173, allocations: 298.1 kB / 0.8527 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/0.7176, allocations: 173.1 kB / 0.8528 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.7178, allocations: 400 kB / 0.8532 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005321/0.7183, allocations: 283.2 kB / 0.8535 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006706/0.719, allocations: 401.7 kB / 0.8539 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.7202, allocations: 0.6599 MB / 0.8545 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/0.7202, allocations: 2.094 kB / 0.8545 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002006/0.7222, allocations: 0.9021 MB / 0.8554 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.7222, allocations: 4.906 kB / 0.8554 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.7222, allocations: 4.094 kB / 0.8554 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005892/0.7228, allocations: 86.03 kB / 0.8555 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/0.7236, allocations: 178 kB / 0.8556 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/0.7257, allocations: 1.625 MB / 0.8572 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008194/0.7265, allocations: 104.3 kB / 0.8573 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-05/0.7266, allocations: 38.33 kB / 0.8574 GB, free: 4.254 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.0005939/0.7272, allocations: 288.4 kB / 0.8576 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.7274, allocations: 85.47 kB / 0.8577 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/0.7301, allocations: 1.224 MB / 0.8589 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.7302, allocations: 17.06 kB / 0.8589 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.7302, allocations: 0 / 0.8589 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.832e-05/0.7302, allocations: 7.969 kB / 0.8589 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.7315, allocations: 1.018 MB / 0.8599 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.7315, allocations: 0 / 0.8599 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006438/0.7321, allocations: 167.1 kB / 0.8601 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004508/0.7326, allocations: 78.75 kB / 0.8602 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.057e-05/0.7327, allocations: 30.17 kB / 0.8602 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.7346, allocations: 1.661 MB / 0.8618 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.7346, allocations: 6.312 kB / 0.8618 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002283/0.7369, allocations: 1.04 MB / 0.8628 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005099/0.7374, allocations: 299.3 kB / 0.8631 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.7376, allocations: 20.75 kB / 0.8632 GB, free: 8 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007449/0.7383, allocations: 72.58 kB / 0.8632 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.7385, allocations: 81.48 kB / 0.8633 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.419e-05/0.7386, allocations: 41.28 kB / 0.8633 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006823/0.7393, allocations: 499.7 kB / 0.8638 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7393, allocations: 0 / 0.8638 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001102/0.7404, allocations: 361.2 kB / 0.8642 GB, free: 15.53 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.003919/0.7444, allocations: 2.113 MB / 0.8662 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002682/0.7471, allocations: 1.137 MB / 0.8673 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.7471, allocations: 2.781 kB / 0.8673 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.7481, allocations: 0.5659 MB / 0.8679 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.7495, allocations: 300.9 kB / 0.8682 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.7622, allocations: 7.197 MB / 0.8752 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008518/0.763, allocations: 1.079 MB / 0.8763 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001017/0.7641, allocations: 283.3 kB / 0.8765 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006337/0.7647, allocations: 446 kB / 0.877 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.7647, allocations: 0 / 0.877 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5145/1.279, allocations: 23.3 MB / 0.8997 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/14.25, allocations: 27.06 kB / 0.8997 GB, free: 15.86 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 & /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)