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.005054/0.005054, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.001093/0.001093, allocations: 198.4 kB / 16.68 MB, free: 5.938 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00202/0.00202, allocations: 282.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9298/0.9298, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 87.86 kB / 0.6809 GB, free: 7.512 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4676/0.4695, allocations: 86.99 MB / 0.7659 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006572/0.4761, allocations: 4.625 MB / 0.7704 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1627/0.6389, allocations: 150.7 MB / 0.9176 GB, free: 7.945 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009016/0.6399, allocations: 15.94 kB / 0.9176 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007564/0.6406, allocations: 182.3 kB / 0.9178 GB, free: 7.75 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00228/0.643, allocations: 0.546 MB / 0.9183 GB, free: 7.203 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.6455, allocations: 0.878 MB / 0.9192 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001801/0.6473, allocations: 1.433 MB / 0.9206 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.6484, allocations: 0.7183 MB / 0.9213 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008023/0.6492, allocations: 0.5449 MB / 0.9218 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006724/0.6498, allocations: 0.5717 MB / 0.9223 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.65, allocations: 136 kB / 0.9225 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009702/0.651, allocations: 0.5113 MB / 0.923 GB, free: 2.387 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002856/0.6513, allocations: 342.9 kB / 0.9233 GB, free: 2.051 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005768/0.6519, allocations: 0.6218 MB / 0.9239 GB, free: 1.426 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.654, allocations: 1.818 MB / 0.9257 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.6541, allocations: 0 / 0.9257 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6541, allocations: 0 / 0.9257 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.544e-05/0.6541, allocations: 4 kB / 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.00288/0.657, allocations: 1.565 MB / 0.9272 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.657, allocations: 8.031 kB / 0.9272 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001725/0.6572, allocations: 160.5 kB / 0.9274 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000935/0.6582, allocations: 199.2 kB / 0.9276 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.6595, allocations: 0.8283 MB / 0.9284 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.237e-05/0.6595, allocations: 74.02 kB / 0.9284 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.6597, allocations: 96 kB / 0.9285 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.6614, allocations: 1.067 MB / 0.9296 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.6614, allocations: 0 / 0.9296 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.225e-05/0.6615, allocations: 44 kB / 0.9296 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.6615, allocations: 24 kB / 0.9296 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.6635, allocations: 1.225 MB / 0.9308 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004719/0.6682, allocations: 2.882 MB / 0.9337 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.6698, allocations: 0.8974 MB / 0.9345 GB, free: 6.285 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005662/0.6704, allocations: 347.6 kB / 0.9349 GB, free: 5.941 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 9.671e-05/0.6705, allocations: 33.03 kB / 0.9349 GB, free: 5.91 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.6715, allocations: 0.5514 MB / 0.9354 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=92): time 3.507e-06/0.6715, allocations: 0 / 0.9354 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92): time 0.003404/0.6749, allocations: 1.341 MB / 0.9367 GB, free: 3.977 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.675, allocations: 188.9 kB / 0.9369 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009092/0.676, allocations: 0.6765 MB / 0.9376 GB, free: 3.066 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.584e-05/0.6761, allocations: 41.7 kB / 0.9376 GB, free: 3.02 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/0.6764, allocations: 452.2 kB / 0.9381 GB, free: 2.57 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/0.6766, allocations: 299.7 kB / 0.9383 GB, free: 2.273 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/0.6769, allocations: 162.5 kB / 0.9385 GB, free: 2.105 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.6771, allocations: 402.7 kB / 0.9389 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005984/0.6777, allocations: 285.8 kB / 0.9392 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006657/0.6784, allocations: 398.5 kB / 0.9395 GB, free: 1.008 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.6796, allocations: 0.6594 MB / 0.9402 GB, free: 344 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.6796, allocations: 0 / 0.9402 GB, free: 344 kB / 0.7012 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002106/0.6817, allocations: 0.9072 MB / 0.9411 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.6817, allocations: 4 kB / 0.9411 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.6817, allocations: 0 / 0.9411 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005842/0.6823, allocations: 84.86 kB / 0.9411 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007352/0.6831, allocations: 171.8 kB / 0.9413 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/0.6852, allocations: 1.638 MB / 0.9429 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008398/0.686, allocations: 99.23 kB / 0.943 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.596e-05/0.6861, allocations: 39.97 kB / 0.943 GB, free: 13.24 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.0005209/0.6867, allocations: 275.4 kB / 0.9433 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.6869, allocations: 90.88 kB / 0.9434 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/0.6895, allocations: 1.223 MB / 0.9446 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.6896, allocations: 12 kB / 0.9446 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6896, allocations: 0 / 0.9446 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.6896, allocations: 3.984 kB / 0.9446 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.6909, allocations: 1.024 MB / 0.9456 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.691, allocations: 0 / 0.9456 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006651/0.6916, allocations: 167.7 kB / 0.9458 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004695/0.6921, allocations: 76.78 kB / 0.9458 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-05/0.6922, allocations: 31.97 kB / 0.9459 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.6942, allocations: 1.658 MB / 0.9475 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6942, allocations: 0 / 0.9475 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.6964, allocations: 1.049 MB / 0.9485 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005014/0.6969, allocations: 295.5 kB / 0.9488 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.6971, allocations: 24 kB / 0.9488 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006593/0.6977, allocations: 67.92 kB / 0.9489 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.6979, allocations: 84.88 kB / 0.949 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.579e-05/0.698, allocations: 35.98 kB / 0.949 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006639/0.6987, allocations: 0.4912 MB / 0.9495 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6987, allocations: 4 kB / 0.9495 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009435/0.6996, allocations: 351.1 kB / 0.9498 GB, free: 6.051 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.003641/0.7033, allocations: 2.117 MB / 0.9519 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001922/0.7052, allocations: 0.8977 MB / 0.9528 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.009e-05/0.7053, allocations: 4 kB / 0.9528 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.7063, allocations: 0.5744 MB / 0.9533 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.7076, allocations: 308.9 kB / 0.9536 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3569/1.065, allocations: 6.9 MB / 0.9604 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/1.065, allocations: 1.074 MB / 0.9614 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009057/1.066, allocations: 275.9 kB / 0.9617 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005643/1.067, allocations: 448 kB / 0.9621 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of SimCode: time 1.042e-06/1.067, allocations: 0 / 0.9621 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05015/1.117, allocations: 23.39 MB / 0.9849 GB, free: 167.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.63, allocations: 15.03 kB / 0.985 GB, free: 167.5 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)