Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_10_Buildings_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.001245/0.001245, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001312/0.001312, allocations: 193.1 kB / 16.14 MB, free: 6.711 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.27/1.27, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.362/2.362, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 71.89 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5381/0.5395, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.005984/0.5455, allocations: 5.375 MB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.14/0.6855, allocations: 148.5 MB / 1.167 GB, free: 8.312 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008846/0.6864, allocations: 19.94 kB / 1.167 GB, free: 8.293 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006886/0.6871, allocations: 158.7 kB / 1.167 GB, free: 8.137 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.6889, allocations: 0.5207 MB / 1.168 GB, free: 7.617 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.6907, allocations: 0.7649 MB / 1.168 GB, free: 6.859 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001523/0.6922, allocations: 1.459 MB / 1.17 GB, free: 5.395 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009246/0.6931, allocations: 0.6396 MB / 1.17 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007394/0.6939, allocations: 0.498 MB / 1.171 GB, free: 4.23 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006724/0.6946, allocations: 0.556 MB / 1.171 GB, free: 3.672 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.6947, allocations: 68 kB / 1.172 GB, free: 3.605 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007927/0.6955, allocations: 431.6 kB / 1.172 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.6958, allocations: 270.9 kB / 1.172 GB, free: 2.918 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000556/0.6964, allocations: 0.5866 MB / 1.173 GB, free: 2.328 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.6981, allocations: 1.752 MB / 1.174 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.6981, allocations: 0 / 1.174 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.72e-07/0.6981, allocations: 4 kB / 1.174 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.129e-05/0.6981, allocations: 0 / 1.174 GB, free: 0.5664 MB / 0.92 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.002763/0.7009, allocations: 1.593 MB / 1.176 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.701, allocations: 8.031 kB / 1.176 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.7011, allocations: 156.5 kB / 1.176 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008983/0.702, allocations: 203.2 kB / 1.176 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009926/0.703, allocations: 0.805 MB / 1.177 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.412e-05/0.7031, allocations: 74.02 kB / 1.177 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.7032, allocations: 96 kB / 1.177 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.7049, allocations: 1.067 MB / 1.178 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.7049, allocations: 0 / 1.178 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.429e-05/0.705, allocations: 40 kB / 1.178 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.705, allocations: 32 kB / 1.178 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.7068, allocations: 1.221 MB / 1.18 GB, free: 11.11 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004068/0.7109, allocations: 3.187 MB / 1.183 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.7123, allocations: 0.9053 MB / 1.184 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005348/0.7129, allocations: 347.6 kB / 1.184 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.294e-05/0.713, allocations: 33.03 kB / 1.184 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009251/0.7139, allocations: 0.5474 MB / 1.185 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=92): time 2.064e-06/0.7139, allocations: 0 / 1.185 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of matching and sorting (n=92): time 0.003078/0.717, allocations: 1.352 MB / 1.186 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/0.7171, allocations: 192.9 kB / 1.186 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/0.7178, allocations: 0.6804 MB / 1.187 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.831e-05/0.7179, allocations: 45.7 kB / 1.187 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.7181, allocations: 448.2 kB / 1.187 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.7183, allocations: 295.8 kB / 1.187 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.7186, allocations: 166.5 kB / 1.188 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.7187, allocations: 394.7 kB / 1.188 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005001/0.7192, allocations: 281.9 kB / 1.188 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006005/0.7198, allocations: 406.5 kB / 1.189 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.7209, allocations: 0.6633 MB / 1.189 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.721, allocations: 4 kB / 1.189 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001845/0.7228, allocations: 0.9112 MB / 1.19 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.7228, allocations: 5.719 kB / 1.19 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.7228, allocations: 0 / 1.19 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005438/0.7234, allocations: 80.78 kB / 1.19 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006586/0.7241, allocations: 183.7 kB / 1.19 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.7259, allocations: 1.539 MB / 1.192 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000651/0.7265, allocations: 103.3 kB / 1.192 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.597e-05/0.7266, allocations: 44.03 kB / 1.192 GB, free: 13.9 MB / 0.9512 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.000346/0.7269, allocations: 278.2 kB / 1.192 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.7271, allocations: 90.88 kB / 1.192 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/0.7295, allocations: 1.23 MB / 1.194 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.7296, allocations: 8 kB / 1.194 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.7296, allocations: 0 / 1.194 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.7296, allocations: 11.97 kB / 1.194 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009787/0.7306, allocations: 1.005 MB / 1.195 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.7306, allocations: 0 / 1.195 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006132/0.7312, allocations: 179.7 kB / 1.195 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004798/0.7317, allocations: 84.77 kB / 1.195 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.427e-05/0.7318, allocations: 23.98 kB / 1.195 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/0.7334, allocations: 1.548 MB / 1.196 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.7334, allocations: 3.984 kB / 1.196 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.7353, allocations: 1.045 MB / 1.197 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003275/0.7356, allocations: 299.5 kB / 1.198 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.7357, allocations: 23.98 kB / 1.198 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006254/0.7364, allocations: 71.92 kB / 1.198 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.7365, allocations: 84.83 kB / 1.198 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.312e-05/0.7366, allocations: 35.97 kB / 1.198 GB, free: 7.637 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000531/0.7371, allocations: 0.4951 MB / 1.198 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7372, allocations: 0 / 1.198 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007956/0.738, allocations: 371 kB / 1.199 GB, free: 6.781 MB / 0.9512 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.003257/0.7412, allocations: 2.123 MB / 1.201 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001509/0.7427, allocations: 0.8899 MB / 1.202 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7428, allocations: 4 kB / 1.202 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000888/0.7437, allocations: 0.5666 MB / 1.202 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.7447, allocations: 288.3 kB / 1.203 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.7557, allocations: 7.566 MB / 1.21 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005438/0.7563, allocations: 1.075 MB / 1.211 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008644/0.7572, allocations: 303.6 kB / 1.211 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005637/0.7577, allocations: 435.2 kB / 1.212 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of SimCode: time 7.81e-07/0.7577, allocations: 0 / 1.212 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.294/4.052, allocations: 22.95 MB / 1.234 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002553/4.052, allocations: 329.4 kB / 1.234 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.115/7.167, allocations: 0 / 1.234 GB, free: 2.52 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)