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.001182/0.001182, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001184/0.001184, allocations: 194.8 kB / 16.14 MB, free: 6.707 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.219/1.219, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00199/0.00199, allocations: 291.1 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.877/0.877, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 93.05 kB / 0.5946 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1253, allocations: 86.98 MB / 0.6795 GB, free: 1.113 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.005175/0.1305, allocations: 4.608 MB / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3612/0.4917, allocations: 148.4 MB / 0.829 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006422/0.4924, allocations: 19.84 kB / 0.829 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004373/0.4928, allocations: 138.5 kB / 0.8291 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.494, allocations: 469 kB / 0.8296 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.4954, allocations: 0.7721 MB / 0.8303 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008397/0.4962, allocations: 1.335 MB / 0.8316 GB, free: 344 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007165/0.4969, allocations: 0.7005 MB / 0.8323 GB, free: 184 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004011/0.4973, allocations: 481.9 kB / 0.8328 GB, free: 72 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004539/0.4978, allocations: 0.5328 MB / 0.8333 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.4979, allocations: 73.19 kB / 0.8333 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005984/0.4985, allocations: 438.9 kB / 0.8338 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.4988, allocations: 271.3 kB / 0.834 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003921/0.4992, allocations: 0.5602 MB / 0.8346 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.5004, allocations: 1.713 MB / 0.8362 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.5004, allocations: 0 / 0.8362 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 6.71e-07/0.5004, allocations: 1.188 kB / 0.8362 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.5004, allocations: 0 / 0.8362 GB, free: 15.41 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.002473/0.5029, allocations: 1.57 MB / 0.8378 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.5029, allocations: 13.38 kB / 0.8378 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001562/0.5031, allocations: 155.6 kB / 0.8379 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008505/0.504, allocations: 198.6 kB / 0.8381 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008994/0.5049, allocations: 0.7971 MB / 0.8389 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.474e-05/0.5049, allocations: 77.52 kB / 0.839 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.505, allocations: 95.56 kB / 0.8391 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.5066, allocations: 1.071 MB / 0.8401 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.5066, allocations: 0 / 0.8401 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.671e-05/0.5067, allocations: 40.94 kB / 0.8402 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.5068, allocations: 28.33 kB / 0.8402 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.5085, allocations: 1.228 MB / 0.8414 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003782/0.5123, allocations: 2.926 MB / 0.8442 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.5138, allocations: 0.8895 MB / 0.8451 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005281/0.5143, allocations: 335.7 kB / 0.8454 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.455e-05/0.5144, allocations: 43 kB / 0.8455 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008734/0.5153, allocations: 0.5603 MB / 0.846 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=92): time 2.014e-06/0.5153, allocations: 0 / 0.846 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92): time 0.002968/0.5182, allocations: 1.336 MB / 0.8473 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.024e-05/0.5183, allocations: 194.7 kB / 0.8475 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006691/0.519, allocations: 0.6734 MB / 0.8482 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.922e-05/0.5191, allocations: 46.36 kB / 0.8482 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/0.5194, allocations: 447.3 kB / 0.8486 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.5196, allocations: 293.7 kB / 0.8489 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/0.5198, allocations: 168.6 kB / 0.8491 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5199, allocations: 392.7 kB / 0.8494 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000494/0.5204, allocations: 285.5 kB / 0.8497 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005852/0.521, allocations: 396 kB / 0.8501 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.5221, allocations: 0.6593 MB / 0.8507 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5221, allocations: 0 / 0.8507 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001819/0.524, allocations: 0.9146 MB / 0.8516 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.524, allocations: 4.812 kB / 0.8516 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.524, allocations: 2.031 kB / 0.8516 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005612/0.5246, allocations: 81.94 kB / 0.8517 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/0.5252, allocations: 181.6 kB / 0.8519 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/0.527, allocations: 1.514 MB / 0.8534 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006341/0.5276, allocations: 106.4 kB / 0.8535 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/0.5277, allocations: 38.25 kB / 0.8535 GB, free: 4.977 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.0003392/0.5281, allocations: 279.8 kB / 0.8538 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.5282, allocations: 89.88 kB / 0.8539 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/0.5307, allocations: 1.23 MB / 0.8551 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.5307, allocations: 14.59 kB / 0.8551 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.5307, allocations: 0 / 0.8551 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.5307, allocations: 5.766 kB / 0.8551 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009304/0.5317, allocations: 1.009 MB / 0.8561 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.5317, allocations: 4 kB / 0.8561 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006142/0.5323, allocations: 166 kB / 0.8562 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004947/0.5328, allocations: 91.8 kB / 0.8563 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-05/0.5329, allocations: 33.64 kB / 0.8564 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/0.5345, allocations: 1.55 MB / 0.8579 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5345, allocations: 0 / 0.8579 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.5364, allocations: 1.036 MB / 0.8589 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/0.5367, allocations: 292.3 kB / 0.8592 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.5369, allocations: 35.61 kB / 0.8592 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006372/0.5375, allocations: 69.64 kB / 0.8593 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.5377, allocations: 86.78 kB / 0.8593 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.12e-05/0.5377, allocations: 47.67 kB / 0.8594 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004997/0.5382, allocations: 0.4913 MB / 0.8599 GB, free: 476 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5383, allocations: 0 / 0.8599 GB, free: 476 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007049/0.539, allocations: 349.6 kB / 0.8602 GB, free: 372 kB / 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.003301/0.5423, allocations: 2.107 MB / 0.8623 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001495/0.5438, allocations: 0.8971 MB / 0.8631 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5438, allocations: 2.906 kB / 0.8631 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008959/0.5447, allocations: 0.566 MB / 0.8637 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.5458, allocations: 281.9 kB / 0.864 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.5578, allocations: 7.656 MB / 0.8714 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005592/0.5584, allocations: 1.074 MB / 0.8725 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008701/0.5593, allocations: 286.7 kB / 0.8728 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005698/0.5599, allocations: 439.8 kB / 0.8732 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of SimCode: time 1.433e-06/0.5599, allocations: 3.938 kB / 0.8732 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.2/2.76, allocations: 22.46 MB / 0.8951 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003375/2.761, allocations: 326.2 kB / 0.8954 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.365/5.125, allocations: 5.766 kB / 0.8954 GB, free: 2.125 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)