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.000877/0.0008771, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004477/0.004477, allocations: 170 kB / 16.26 MB, free: 6.613 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.224/1.224, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8607/0.8607, allocations: 135.3 MB / 426.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003181, allocations: 8 kB / 0.5077 GB, free: 4.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1324, allocations: 82.3 MB / 0.5881 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004271/0.1367, allocations: 3.644 MB / 0.5916 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3408/0.4775, allocations: 146.5 MB / 0.7347 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005842/0.4781, allocations: 17.38 kB / 0.7348 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005195/0.4787, allocations: 135.4 kB / 0.7349 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.48, allocations: 390.7 kB / 0.7353 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.4817, allocations: 0.6781 MB / 0.7359 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001308/0.483, allocations: 1.075 MB / 0.737 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008208/0.4839, allocations: 0.5618 MB / 0.7375 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005387/0.4844, allocations: 285 kB / 0.7378 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005315/0.4849, allocations: 323.3 kB / 0.7381 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.4851, allocations: 21.06 kB / 0.7381 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007551/0.4858, allocations: 365.9 kB / 0.7385 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.486, allocations: 160.1 kB / 0.7386 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004512/0.4865, allocations: 410.6 kB / 0.739 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.4879, allocations: 1.324 MB / 0.7403 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.488, allocations: 1.656 kB / 0.7403 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.062e-06/0.488, allocations: 0 / 0.7403 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.484e-05/0.488, allocations: 0 / 0.7403 GB, free: 12.1 MB / 0.5606 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.001967/0.49, allocations: 1.118 MB / 0.7414 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.49, allocations: 8.844 kB / 0.7414 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001837/0.4902, allocations: 122.8 kB / 0.7415 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008126/0.491, allocations: 188.1 kB / 0.7417 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008566/0.4919, allocations: 0.7058 MB / 0.7424 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.379e-05/0.492, allocations: 57.03 kB / 0.7424 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.378e-05/0.492, allocations: 75.41 kB / 0.7425 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.4933, allocations: 0.8432 MB / 0.7433 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.4933, allocations: 1.469 kB / 0.7433 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-05/0.4934, allocations: 31.75 kB / 0.7434 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.4934, allocations: 21.09 kB / 0.7434 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.4949, allocations: 1.06 MB / 0.7444 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003037/0.498, allocations: 2.356 MB / 0.7467 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.4991, allocations: 0.7829 MB / 0.7475 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004245/0.4995, allocations: 274.7 kB / 0.7478 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.32e-05/0.4996, allocations: 31.47 kB / 0.7478 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006555/0.5002, allocations: 420.4 kB / 0.7482 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 1.593e-06/0.5003, allocations: 0 / 0.7482 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002557/0.5028, allocations: 1.069 MB / 0.7492 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.088e-05/0.5029, allocations: 193.5 kB / 0.7494 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006098/0.5035, allocations: 0.5827 MB / 0.75 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.5036, allocations: 40.39 kB / 0.75 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.5038, allocations: 366 kB / 0.7504 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.504, allocations: 226.5 kB / 0.7506 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-05/0.5041, allocations: 55.12 kB / 0.7506 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5042, allocations: 378.8 kB / 0.751 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/0.5046, allocations: 214.7 kB / 0.7512 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/0.5051, allocations: 312.8 kB / 0.7515 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008692/0.506, allocations: 0.5234 MB / 0.752 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.506, allocations: 0 / 0.752 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001486/0.5075, allocations: 0.7158 MB / 0.7527 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.5075, allocations: 4 kB / 0.7527 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5075, allocations: 0 / 0.7527 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000546/0.508, allocations: 76.88 kB / 0.7528 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005029/0.5086, allocations: 139.8 kB / 0.7529 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/0.5104, allocations: 1.519 MB / 0.7544 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.5109, allocations: 84.62 kB / 0.7545 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.549e-05/0.5109, allocations: 27.98 kB / 0.7545 GB, free: 1.332 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 (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 (73): * Single equations (assignments): 72 * 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.0003129/0.5113, allocations: 250.8 kB / 0.7548 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.918e-05/0.5114, allocations: 71.34 kB / 0.7548 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/0.5133, allocations: 0.9667 MB / 0.7558 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.5134, allocations: 15.94 kB / 0.7558 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.5134, allocations: 4 kB / 0.7558 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.5134, allocations: 3.984 kB / 0.7558 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/0.5164, allocations: 1.797 MB / 0.7575 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.5164, allocations: 0 / 0.7575 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008797/0.5173, allocations: 135.8 kB / 0.7577 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007515/0.5181, allocations: 84.77 kB / 0.7578 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.802e-05/0.5182, allocations: 23.98 kB / 0.7578 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002633/0.5208, allocations: 1.553 MB / 0.7593 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5208, allocations: 4.031 kB / 0.7593 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.5229, allocations: 0.8867 MB / 0.7602 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003098/0.5232, allocations: 271.8 kB / 0.7604 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.504e-05/0.5233, allocations: 16 kB / 0.7604 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005428/0.5239, allocations: 78.03 kB / 0.7605 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.524, allocations: 56.92 kB / 0.7606 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.973e-05/0.5241, allocations: 31.98 kB / 0.7606 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004745/0.5245, allocations: 427 kB / 0.761 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5245, allocations: 0 / 0.761 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007549/0.5253, allocations: 275.4 kB / 0.7613 GB, free: 10.18 MB / 0.5762 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 (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.003101/0.5284, allocations: 1.938 MB / 0.7632 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.5297, allocations: 0.7076 MB / 0.7639 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.5297, allocations: 4 kB / 0.7639 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007729/0.5305, allocations: 484.8 kB / 0.7643 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.5316, allocations: 256.8 kB / 0.7646 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.5422, allocations: 6.363 MB / 0.7708 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005293/0.5427, allocations: 0.9929 MB / 0.7717 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007132/0.5435, allocations: 250 kB / 0.772 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004336/0.5439, allocations: 343.3 kB / 0.7723 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of SimCode: time 6.81e-07/0.5439, allocations: 0 / 0.7723 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.232/2.776, allocations: 18.31 MB / 0.7902 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00027/2.776, allocations: 316.2 kB / 0.7905 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.614/5.39, allocations: 0 / 0.7905 GB, free: 12.61 MB / 0.6075 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/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)