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.006968/0.006968, allocations: 101 kB / 15.73 MB, free: 6.055 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.001826/0.001826, allocations: 192.7 kB / 16.67 MB, free: 5.969 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002507/0.002507, allocations: 283.7 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1/1, allocations: 169.3 MB / 0.4983 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002768/0.002768, allocations: 99.83 kB / 0.681 GB, free: 7.484 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4168, allocations: 86.98 MB / 0.7659 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.007172/0.424, allocations: 4.618 MB / 0.7704 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1748/0.5989, allocations: 150.7 MB / 0.9176 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008489/0.5998, allocations: 19.94 kB / 0.9176 GB, free: 7.934 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007724/0.6005, allocations: 178.3 kB / 0.9178 GB, free: 7.758 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002145/0.6027, allocations: 0.5449 MB / 0.9183 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.6052, allocations: 0.8763 MB / 0.9192 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002059/0.6072, allocations: 1.445 MB / 0.9206 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.6085, allocations: 0.7106 MB / 0.9213 GB, free: 4.16 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009485/0.6095, allocations: 0.5371 MB / 0.9218 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009526/0.6104, allocations: 0.5794 MB / 0.9223 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003327/0.6108, allocations: 136 kB / 0.9225 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.612, allocations: 0.5113 MB / 0.923 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000416/0.6124, allocations: 342.9 kB / 0.9233 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008172/0.6133, allocations: 0.6217 MB / 0.9239 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003055/0.6163, allocations: 1.83 MB / 0.9257 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.6164, allocations: 0 / 0.9257 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6164, allocations: 4 kB / 0.9257 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.761e-05/0.6165, allocations: 0 / 0.9257 GB, free: 15.6 MB / 0.7012 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.003734/0.6202, allocations: 1.602 MB / 0.9273 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.6203, allocations: 8.031 kB / 0.9273 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002913/0.6206, allocations: 156.5 kB / 0.9274 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.6217, allocations: 215.9 kB / 0.9276 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.6232, allocations: 0.8251 MB / 0.9284 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.949e-05/0.6233, allocations: 78 kB / 0.9285 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.6235, allocations: 100 kB / 0.9286 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/0.6255, allocations: 1.067 MB / 0.9296 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.6255, allocations: 0 / 0.9296 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.6256, allocations: 44 kB / 0.9297 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.6257, allocations: 24 kB / 0.9297 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002145/0.6278, allocations: 1.225 MB / 0.9309 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005299/0.6331, allocations: 2.902 MB / 0.9337 GB, free: 7.109 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.635, allocations: 0.8897 MB / 0.9346 GB, free: 6.219 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006453/0.6356, allocations: 335.7 kB / 0.9349 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 9.669e-05/0.6358, allocations: 37.02 kB / 0.935 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.6368, allocations: 0.5552 MB / 0.9355 GB, free: 5.277 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=92): time 2.715e-06/0.6368, allocations: 0 / 0.9355 GB, free: 5.277 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92): time 0.003669/0.6405, allocations: 1.337 MB / 0.9368 GB, free: 3.918 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.6407, allocations: 188.9 kB / 0.937 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.6417, allocations: 0.6842 MB / 0.9377 GB, free: 3 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001446/0.6419, allocations: 49.7 kB / 0.9377 GB, free: 2.945 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/0.6423, allocations: 457.1 kB / 0.9381 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003355/0.6426, allocations: 305.4 kB / 0.9384 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002859/0.6429, allocations: 166.6 kB / 0.9386 GB, free: 2.02 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002211/0.6432, allocations: 398.7 kB / 0.939 GB, free: 1.621 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000612/0.6438, allocations: 285.9 kB / 0.9392 GB, free: 1.344 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007393/0.6445, allocations: 402.4 kB / 0.9396 GB, free: 0.9219 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.6458, allocations: 0.6633 MB / 0.9403 GB, free: 252 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.6459, allocations: 0 / 0.9403 GB, free: 252 kB / 0.7012 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002338/0.6482, allocations: 0.9077 MB / 0.9412 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.6483, allocations: 7.984 kB / 0.9412 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.6483, allocations: 4 kB / 0.9412 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006289/0.6489, allocations: 84.78 kB / 0.9413 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008191/0.6497, allocations: 171.8 kB / 0.9414 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/0.6522, allocations: 1.63 MB / 0.943 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008921/0.6531, allocations: 99.53 kB / 0.9431 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.6532, allocations: 35.97 kB / 0.9431 GB, free: 13.16 MB / 0.7169 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.0005903/0.6538, allocations: 285.8 kB / 0.9434 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.6541, allocations: 95.39 kB / 0.9435 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/0.657, allocations: 1.238 MB / 0.9447 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.6571, allocations: 8 kB / 0.9447 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6571, allocations: 3.938 kB / 0.9447 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.6571, allocations: 7.984 kB / 0.9447 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.6586, allocations: 1.013 MB / 0.9457 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/0.6587, allocations: 0 / 0.9457 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007453/0.6594, allocations: 175.7 kB / 0.9459 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004832/0.6599, allocations: 68.8 kB / 0.946 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.66, allocations: 27.97 kB / 0.946 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/0.6622, allocations: 1.662 MB / 0.9476 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6622, allocations: 4.031 kB / 0.9476 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0027/0.6649, allocations: 1.041 MB / 0.9486 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005977/0.6656, allocations: 296.1 kB / 0.9489 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/0.6658, allocations: 35.88 kB / 0.9489 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008294/0.6667, allocations: 74.5 kB / 0.949 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/0.6669, allocations: 80.88 kB / 0.9491 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.667, allocations: 39.97 kB / 0.9491 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008068/0.6678, allocations: 0.4912 MB / 0.9496 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6678, allocations: 0 / 0.9496 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001175/0.669, allocations: 351.1 kB / 0.9499 GB, free: 5.938 MB / 0.7169 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.004946/0.674, allocations: 2.138 MB / 0.952 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002258/0.6763, allocations: 0.8977 MB / 0.9529 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6763, allocations: 0 / 0.9529 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.6776, allocations: 0.5704 MB / 0.9535 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.6792, allocations: 309.2 kB / 0.9538 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3468/1.026, allocations: 6.937 MB / 0.9605 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006785/1.027, allocations: 1.073 MB / 0.9616 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009702/1.028, allocations: 283.9 kB / 0.9619 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005907/1.028, allocations: 442.9 kB / 0.9623 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of SimCode: time 1.233e-06/1.028, allocations: 0.8125 kB / 0.9623 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.164/1.192, allocations: 23.56 MB / 0.9853 GB, free: 167.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.9, allocations: 18.56 kB / 0.9853 GB, free: 167.4 MB / 0.7169 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)