Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="IDEAS_dev_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.004739/0.004739, allocations: 102.8 kB / 15.74 MB, free: 6.043 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.001292/0.001292, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9597/0.9597, allocations: 135.6 MB / 426.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.89 kB / 0.5857 GB, free: 3.223 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.344, allocations: 81.03 MB / 0.6649 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.004642/0.3487, allocations: 4.304 MB / 0.6691 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1755/0.5242, allocations: 150.6 MB / 0.8161 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007977/0.525, allocations: 23.88 kB / 0.8162 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005369/0.5256, allocations: 170.4 kB / 0.8163 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.5271, allocations: 0.4958 MB / 0.8168 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.5291, allocations: 0.8312 MB / 0.8176 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00143/0.5305, allocations: 1.281 MB / 0.8189 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.5315, allocations: 0.7108 MB / 0.8196 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006413/0.5322, allocations: 486.3 kB / 0.82 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006091/0.5328, allocations: 0.5055 MB / 0.8205 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.533, allocations: 116 kB / 0.8206 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009819/0.534, allocations: 0.5074 MB / 0.8211 GB, free: 300 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003286/0.5343, allocations: 303.1 kB / 0.8214 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005594/0.5349, allocations: 0.5556 MB / 0.822 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002061/0.537, allocations: 1.663 MB / 0.8236 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.537, allocations: 0 / 0.8236 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.332e-06/0.537, allocations: 0 / 0.8236 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.537, allocations: 4 kB / 0.8236 GB, free: 13.77 MB / 0.6544 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.002449/0.5395, allocations: 1.472 MB / 0.825 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.5395, allocations: 8.031 kB / 0.825 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001806/0.5397, allocations: 152.1 kB / 0.8252 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009481/0.5406, allocations: 196 kB / 0.8254 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.5418, allocations: 0.7698 MB / 0.8261 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.542e-05/0.5419, allocations: 74 kB / 0.8262 GB, free: 11 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.5421, allocations: 88 kB / 0.8263 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.5438, allocations: 0.9925 MB / 0.8272 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.5439, allocations: 3.938 kB / 0.8272 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-05/0.544, allocations: 40 kB / 0.8273 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.544, allocations: 24 kB / 0.8273 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/0.546, allocations: 1.159 MB / 0.8284 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004364/0.5504, allocations: 2.707 MB / 0.8311 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.5519, allocations: 0.769 MB / 0.8318 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005764/0.5525, allocations: 310.6 kB / 0.8321 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.588e-05/0.5525, allocations: 36.59 kB / 0.8322 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008673/0.5534, allocations: 467.2 kB / 0.8326 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=80): time 2.154e-06/0.5534, allocations: 0 / 0.8326 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80): time 0.003208/0.5567, allocations: 1.16 MB / 0.8337 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.5568, allocations: 192.5 kB / 0.8339 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008509/0.5576, allocations: 0.6254 MB / 0.8345 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.107e-05/0.5577, allocations: 37.7 kB / 0.8346 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003497/0.5581, allocations: 425 kB / 0.835 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000231/0.5583, allocations: 277.6 kB / 0.8352 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/0.5586, allocations: 150.6 kB / 0.8354 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001965/0.5588, allocations: 386.8 kB / 0.8358 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005093/0.5593, allocations: 237.9 kB / 0.836 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006238/0.5599, allocations: 346.6 kB / 0.8363 GB, free: 376 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.5611, allocations: 0.5878 MB / 0.8369 GB, free: 15.77 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5611, allocations: 0 / 0.8369 GB, free: 15.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001946/0.563, allocations: 0.8023 MB / 0.8377 GB, free: 14.95 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.5631, allocations: 11.94 kB / 0.8377 GB, free: 14.94 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5631, allocations: 0 / 0.8377 GB, free: 14.94 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006143/0.5637, allocations: 84.86 kB / 0.8378 GB, free: 14.85 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006677/0.5644, allocations: 155.8 kB / 0.8379 GB, free: 14.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.5667, allocations: 1.626 MB / 0.8395 GB, free: 12.93 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006221/0.5673, allocations: 91.56 kB / 0.8396 GB, free: 12.84 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-05/0.5674, allocations: 35.86 kB / 0.8396 GB, free: 12.81 MB / 0.67 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.0004279/0.5678, allocations: 261.6 kB / 0.8399 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.568, allocations: 83.47 kB / 0.84 GB, free: 12.46 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/0.5707, allocations: 1.101 MB / 0.841 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.5707, allocations: 8 kB / 0.841 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.5707, allocations: 4 kB / 0.841 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.5707, allocations: 3.984 kB / 0.841 GB, free: 11.33 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003613/0.5743, allocations: 2.002 MB / 0.843 GB, free: 9.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.5743, allocations: 0 / 0.843 GB, free: 9.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006641/0.575, allocations: 159.8 kB / 0.8431 GB, free: 9.113 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004791/0.5755, allocations: 72.78 kB / 0.8432 GB, free: 9.039 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.872e-05/0.5756, allocations: 23.98 kB / 0.8432 GB, free: 9.016 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.5777, allocations: 1.666 MB / 0.8449 GB, free: 7.203 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.5777, allocations: 0 / 0.8449 GB, free: 7.203 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.5798, allocations: 0.979 MB / 0.8458 GB, free: 6.203 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003754/0.5802, allocations: 276.2 kB / 0.8461 GB, free: 5.914 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.5803, allocations: 16 kB / 0.8461 GB, free: 5.898 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006159/0.581, allocations: 61.97 kB / 0.8462 GB, free: 5.84 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.5811, allocations: 68.84 kB / 0.8462 GB, free: 5.773 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.288e-05/0.5812, allocations: 31.98 kB / 0.8463 GB, free: 5.742 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006223/0.5818, allocations: 467 kB / 0.8467 GB, free: 5.293 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5818, allocations: 0 / 0.8467 GB, free: 5.293 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008664/0.5827, allocations: 330.9 kB / 0.847 GB, free: 4.969 MB / 0.67 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.004201/0.5869, allocations: 2.048 MB / 0.849 GB, free: 3.07 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001663/0.5886, allocations: 0.7881 MB / 0.8498 GB, free: 2.273 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5886, allocations: 4.188 kB / 0.8498 GB, free: 2.27 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009724/0.5896, allocations: 0.5081 MB / 0.8503 GB, free: 1.75 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.5909, allocations: 293.9 kB / 0.8506 GB, free: 1.484 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/0.6023, allocations: 6.386 MB / 0.8568 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007264/0.6031, allocations: 1.043 MB / 0.8578 GB, free: 9.914 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007915/0.6039, allocations: 266.7 kB / 0.8581 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000587/0.6045, allocations: 399.3 kB / 0.8585 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of SimCode: time 4.21e-07/0.6045, allocations: 0 / 0.8585 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3233/0.9278, allocations: 21.6 MB / 0.8796 GB, free: 187 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.74, allocations: 12.59 kB / 0.8796 GB, free: 187 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)