Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="IDEAS_IDEAS_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.005152/0.005152, allocations: 98.58 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.001521/0.001521, allocations: 193.2 kB / 16.68 MB, free: 5.934 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7911/0.7911, allocations: 132.2 MB / 422.7 MB, free: 6.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 75.77 kB / 0.5809 GB, free: 23.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.125, allocations: 80.2 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.005753/0.1308, allocations: 4.312 MB / 0.6634 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4155/0.5463, allocations: 150.6 MB / 0.8105 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005805/0.5469, allocations: 16.34 kB / 0.8105 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004773/0.5474, allocations: 176.8 kB / 0.8106 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.5486, allocations: 0.4939 MB / 0.8111 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.55, allocations: 0.8275 MB / 0.8119 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008792/0.5509, allocations: 1.272 MB / 0.8132 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007332/0.5517, allocations: 0.7057 MB / 0.8139 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004405/0.5521, allocations: 491.1 kB / 0.8143 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004667/0.5526, allocations: 0.507 MB / 0.8148 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.5527, allocations: 120.3 kB / 0.8149 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006599/0.5534, allocations: 0.5016 MB / 0.8154 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.5536, allocations: 303 kB / 0.8157 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003812/0.554, allocations: 0.5631 MB / 0.8163 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.5555, allocations: 1.664 MB / 0.8179 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5555, allocations: 11.27 kB / 0.8179 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5555, allocations: 0 / 0.8179 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.5555, allocations: 0 / 0.8179 GB, free: 9.48 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002167/0.5577, allocations: 1.471 MB / 0.8193 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.5577, allocations: 9.75 kB / 0.8193 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.5579, allocations: 147.7 kB / 0.8195 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008494/0.5588, allocations: 199.7 kB / 0.8197 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.5598, allocations: 0.7832 MB / 0.8204 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.46e-05/0.5599, allocations: 66.56 kB / 0.8205 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.631e-05/0.56, allocations: 89.19 kB / 0.8206 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.5615, allocations: 0.9928 MB / 0.8216 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.5616, allocations: 0 / 0.8216 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.221e-05/0.5617, allocations: 38.06 kB / 0.8216 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.5617, allocations: 22.38 kB / 0.8216 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.5634, allocations: 1.165 MB / 0.8228 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003817/0.5672, allocations: 2.708 MB / 0.8254 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.5685, allocations: 0.7631 MB / 0.8261 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004938/0.569, allocations: 305.8 kB / 0.8264 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.888e-05/0.5691, allocations: 31.83 kB / 0.8265 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007569/0.5698, allocations: 461.6 kB / 0.8269 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.013e-06/0.5699, allocations: 0 / 0.8269 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.002841/0.5727, allocations: 1.164 MB / 0.828 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.5728, allocations: 187.4 kB / 0.8282 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000699/0.5735, allocations: 0.6355 MB / 0.8288 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.93e-05/0.5736, allocations: 42.66 kB / 0.8289 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000322/0.5739, allocations: 425.9 kB / 0.8293 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.5741, allocations: 273.3 kB / 0.8296 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.5744, allocations: 149.4 kB / 0.8297 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.5746, allocations: 384.1 kB / 0.8301 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/0.575, allocations: 238.1 kB / 0.8303 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00057/0.5756, allocations: 363.1 kB / 0.8306 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.5766, allocations: 0.5907 MB / 0.8312 GB, free: 392 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5766, allocations: 1.812 kB / 0.8312 GB, free: 392 kB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001768/0.5784, allocations: 0.7988 MB / 0.832 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.5784, allocations: 4.656 kB / 0.832 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5785, allocations: 7.875 kB / 0.832 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/0.579, allocations: 85.92 kB / 0.8321 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005939/0.5796, allocations: 149.1 kB / 0.8322 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/0.5817, allocations: 1.632 MB / 0.8338 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005398/0.5822, allocations: 80.89 kB / 0.8339 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-05/0.5823, allocations: 31.84 kB / 0.8339 GB, free: 14.22 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0003349/0.5826, allocations: 266.2 kB / 0.8342 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.5828, allocations: 85.44 kB / 0.8343 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/0.5851, allocations: 1.081 MB / 0.8353 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.5851, allocations: 14.72 kB / 0.8353 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.5852, allocations: 0 / 0.8353 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.5852, allocations: 11.97 kB / 0.8353 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/0.5882, allocations: 2.004 MB / 0.8373 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.5882, allocations: 0 / 0.8373 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.5888, allocations: 164.8 kB / 0.8375 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004239/0.5893, allocations: 70.61 kB / 0.8375 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.264e-05/0.5893, allocations: 23.58 kB / 0.8376 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.5912, allocations: 1.658 MB / 0.8392 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5912, allocations: 0 / 0.8392 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.5931, allocations: 0.9873 MB / 0.8401 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003144/0.5934, allocations: 278.4 kB / 0.8404 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.5935, allocations: 16.66 kB / 0.8404 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005747/0.5941, allocations: 51.45 kB / 0.8405 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.5942, allocations: 64.91 kB / 0.8405 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.338e-05/0.5943, allocations: 38.84 kB / 0.8406 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005011/0.5948, allocations: 467.4 kB / 0.841 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.893e-06/0.5948, allocations: 0 / 0.841 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000719/0.5955, allocations: 333.1 kB / 0.8413 GB, free: 9.055 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003744/0.5993, allocations: 2.041 MB / 0.8433 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001546/0.6008, allocations: 0.7877 MB / 0.8441 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.6009, allocations: 0 / 0.8441 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009192/0.6018, allocations: 0.5191 MB / 0.8446 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.6029, allocations: 293.4 kB / 0.8449 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.6138, allocations: 6.38 MB / 0.8511 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000651/0.6145, allocations: 1.039 MB / 0.8521 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007073/0.6152, allocations: 269 kB / 0.8524 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005553/0.6158, allocations: 407.2 kB / 0.8528 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of SimCode: time 2.7e-07/0.6158, allocations: 0 / 0.8528 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6524/1.268, allocations: 21.61 MB / 0.8739 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/14.41, allocations: 5.812 kB / 0.8739 GB, free: 8.695 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)