Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.0008362/0.0008363, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008241/0.0008242, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9453/0.9453, allocations: 135.3 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.000302, allocations: 12.61 kB / 0.5071 GB, free: 5.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1489, allocations: 82.31 MB / 0.5875 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004097/0.1531, allocations: 3.456 MB / 0.5909 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4321/0.5852, allocations: 136.6 MB / 0.7243 GB, free: 7.801 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004748/0.5857, allocations: 14.5 kB / 0.7243 GB, free: 7.797 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004599/0.5862, allocations: 130.5 kB / 0.7244 GB, free: 7.723 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.5873, allocations: 380.6 kB / 0.7248 GB, free: 7.512 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.5891, allocations: 0.5914 MB / 0.7254 GB, free: 7.223 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001095/0.5902, allocations: 0.9965 MB / 0.7263 GB, free: 6.727 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006624/0.5908, allocations: 449.4 kB / 0.7268 GB, free: 6.555 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004287/0.5913, allocations: 293 kB / 0.7271 GB, free: 6.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004124/0.5917, allocations: 305.1 kB / 0.7273 GB, free: 6.289 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.913e-05/0.5918, allocations: 20.44 kB / 0.7274 GB, free: 6.289 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007406/0.5925, allocations: 330.3 kB / 0.7277 GB, free: 6.203 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.5927, allocations: 168.2 kB / 0.7278 GB, free: 6.121 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.5929, allocations: 171.4 kB / 0.728 GB, free: 6 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.5941, allocations: 1.051 MB / 0.729 GB, free: 5.719 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5941, allocations: 0 / 0.729 GB, free: 5.719 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5941, allocations: 0 / 0.729 GB, free: 5.719 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.5941, allocations: 0 / 0.729 GB, free: 5.719 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001835/0.5959, allocations: 1.116 MB / 0.7301 GB, free: 4.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.596, allocations: 13.39 kB / 0.7301 GB, free: 4.926 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001564/0.5961, allocations: 129.1 kB / 0.7303 GB, free: 4.836 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008213/0.597, allocations: 186.2 kB / 0.7304 GB, free: 4.777 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009299/0.5979, allocations: 0.6665 MB / 0.7311 GB, free: 4.344 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.947e-05/0.598, allocations: 61.47 kB / 0.7311 GB, free: 4.316 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.911e-05/0.5981, allocations: 73.06 kB / 0.7312 GB, free: 4.293 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.5995, allocations: 0.8401 MB / 0.732 GB, free: 3.895 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.5996, allocations: 5.875 kB / 0.732 GB, free: 3.891 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.332e-05/0.5996, allocations: 32.38 kB / 0.7321 GB, free: 3.867 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.5997, allocations: 18.66 kB / 0.7321 GB, free: 3.867 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/0.6013, allocations: 1.058 MB / 0.7331 GB, free: 3.621 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003332/0.6046, allocations: 2.35 MB / 0.7354 GB, free: 2.297 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.6059, allocations: 0.7746 MB / 0.7362 GB, free: 1.938 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004531/0.6063, allocations: 278.7 kB / 0.7364 GB, free: 1.824 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.33e-05/0.6064, allocations: 30.16 kB / 0.7365 GB, free: 1.809 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006982/0.6071, allocations: 412.5 kB / 0.7369 GB, free: 1.539 MB / 0.545 GB Notification: Performance of pre-optimization done (n=70): time 2.255e-06/0.6071, allocations: 0 / 0.7369 GB, free: 1.539 MB / 0.545 GB Notification: Performance of matching and sorting (n=70): time 0.002594/0.6097, allocations: 1.062 MB / 0.7379 GB, free: 0.957 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.461e-05/0.6098, allocations: 192.5 kB / 0.7381 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006298/0.6105, allocations: 0.5672 MB / 0.7386 GB, free: 408 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.72e-05/0.6105, allocations: 43.83 kB / 0.7387 GB, free: 364 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.6108, allocations: 363.7 kB / 0.739 GB, free: 36 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.611, allocations: 241.9 kB / 0.7393 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.611, allocations: 9.406 kB / 0.7393 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.6112, allocations: 377.2 kB / 0.7396 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004071/0.6116, allocations: 214.5 kB / 0.7398 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/0.6121, allocations: 312 kB / 0.7401 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/0.6125, allocations: 261.4 kB / 0.7404 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6125, allocations: 3.938 kB / 0.7404 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001477/0.614, allocations: 0.7027 MB / 0.7411 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.614, allocations: 5.156 kB / 0.7411 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.6141, allocations: 4.094 kB / 0.7411 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005417/0.6146, allocations: 84.2 kB / 0.7412 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005222/0.6151, allocations: 134 kB / 0.7413 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.617, allocations: 1.516 MB / 0.7428 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005526/0.6176, allocations: 81.92 kB / 0.7428 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.717e-05/0.6177, allocations: 27.67 kB / 0.7429 GB, free: 13.03 MB / 0.5606 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003862/0.6181, allocations: 245.7 kB / 0.7431 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.6182, allocations: 73.73 kB / 0.7432 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/0.6203, allocations: 0.97 MB / 0.7441 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.6203, allocations: 12.12 kB / 0.7441 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6203, allocations: 0 / 0.7441 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.6203, allocations: 11.97 kB / 0.7441 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/0.6232, allocations: 1.797 MB / 0.7459 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.6232, allocations: 0 / 0.7459 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/0.6238, allocations: 143.8 kB / 0.746 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004642/0.6243, allocations: 84.77 kB / 0.7461 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.143e-05/0.6243, allocations: 20 kB / 0.7461 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/0.626, allocations: 1.54 MB / 0.7476 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.626, allocations: 0 / 0.7476 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.6277, allocations: 0.8907 MB / 0.7485 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/0.6281, allocations: 263.8 kB / 0.7488 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.6282, allocations: 20 kB / 0.7488 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005808/0.6288, allocations: 59.94 kB / 0.7488 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.629, allocations: 60.91 kB / 0.7489 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.668e-05/0.629, allocations: 35.98 kB / 0.7489 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005824/0.6296, allocations: 415.1 kB / 0.7493 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6296, allocations: 0 / 0.7493 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000972/0.6306, allocations: 283.2 kB / 0.7496 GB, free: 6.051 MB / 0.5606 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 (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003239/0.6339, allocations: 1.936 MB / 0.7515 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.6353, allocations: 0.696 MB / 0.7522 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6353, allocations: 0 / 0.7522 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008117/0.6362, allocations: 484.7 kB / 0.7526 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.6373, allocations: 260.4 kB / 0.7529 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009035/0.6464, allocations: 4.554 MB / 0.7573 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000555/0.6469, allocations: 0.997 MB / 0.7583 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008758/0.6478, allocations: 254 kB / 0.7585 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004721/0.6483, allocations: 335.3 kB / 0.7589 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.6483, allocations: 0 / 0.7589 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03961/0.6879, allocations: 19.41 MB / 0.7778 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000229/0.6882, allocations: 285.7 kB / 0.7781 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/2.92, allocations: 3.938 kB / 0.7781 GB, free: 9.266 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) Environment - environmentSimulation: