Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.0009994/0.0009995, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001014/0.001015, allocations: 199.2 kB / 16.14 MB, free: 6.66 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.194/1.194, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8183/0.8183, allocations: 135.1 MB / 425.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 63.16 kB / 0.5048 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1286, allocations: 80.93 MB / 0.5838 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004823/0.1334, allocations: 4.141 MB / 0.5879 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3348/0.4683, allocations: 148.1 MB / 0.7325 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005443/0.4688, allocations: 27.25 kB / 0.7326 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004921/0.4693, allocations: 132.2 kB / 0.7327 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.4706, allocations: 406.5 kB / 0.7331 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.4721, allocations: 0.6806 MB / 0.7337 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001069/0.4731, allocations: 1.114 MB / 0.7348 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000764/0.4739, allocations: 0.5904 MB / 0.7354 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005326/0.4745, allocations: 373.7 kB / 0.7358 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004869/0.4749, allocations: 427.5 kB / 0.7362 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.4751, allocations: 51.56 kB / 0.7362 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007156/0.4758, allocations: 393.8 kB / 0.7366 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.476, allocations: 225.1 kB / 0.7368 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004089/0.4764, allocations: 455.8 kB / 0.7372 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.4776, allocations: 1.397 MB / 0.7386 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4776, allocations: 4 kB / 0.7386 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4776, allocations: 0 / 0.7386 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.4776, allocations: 0 / 0.7386 GB, free: 11.19 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001873/0.4795, allocations: 1.335 MB / 0.7399 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.4795, allocations: 10.5 kB / 0.7399 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.4797, allocations: 130.4 kB / 0.7401 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008108/0.4805, allocations: 177.1 kB / 0.7402 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008039/0.4813, allocations: 0.7051 MB / 0.7409 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.342e-05/0.4814, allocations: 57.88 kB / 0.741 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.899e-05/0.4814, allocations: 79.97 kB / 0.741 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.4827, allocations: 0.8686 MB / 0.7419 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.4828, allocations: 3.938 kB / 0.7419 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.009e-05/0.4828, allocations: 36.84 kB / 0.7419 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.4829, allocations: 19.59 kB / 0.7419 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.4843, allocations: 1.069 MB / 0.743 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003001/0.4873, allocations: 2.385 MB / 0.7453 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.4884, allocations: 0.7941 MB / 0.7461 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004192/0.4889, allocations: 283.8 kB / 0.7464 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.283e-05/0.4889, allocations: 32.55 kB / 0.7464 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006691/0.4896, allocations: 426.2 kB / 0.7468 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.883e-06/0.4896, allocations: 4 kB / 0.7468 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002614/0.4922, allocations: 1.079 MB / 0.7479 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.244e-05/0.4923, allocations: 198 kB / 0.748 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005737/0.4929, allocations: 0.5855 MB / 0.7486 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.2e-05/0.493, allocations: 41.7 kB / 0.7487 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.4932, allocations: 372.2 kB / 0.749 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.4934, allocations: 240.5 kB / 0.7492 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.4935, allocations: 138.2 kB / 0.7494 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4937, allocations: 378.8 kB / 0.7497 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003892/0.4941, allocations: 217.2 kB / 0.7499 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/0.4945, allocations: 319.6 kB / 0.7503 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008672/0.4954, allocations: 0.5402 MB / 0.7508 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.716e-06/0.4954, allocations: 3.938 kB / 0.7508 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001548/0.497, allocations: 0.7197 MB / 0.7515 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.497, allocations: 7.984 kB / 0.7515 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.497, allocations: 4.125 kB / 0.7515 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005786/0.4976, allocations: 84.47 kB / 0.7516 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/0.4982, allocations: 147.8 kB / 0.7517 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.4999, allocations: 1.521 MB / 0.7532 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004862/0.5004, allocations: 76.72 kB / 0.7533 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-05/0.5004, allocations: 31.97 kB / 0.7533 GB, free: 15.05 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (77): * Single equations (assignments): 76 * 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.000278/0.5007, allocations: 245.7 kB / 0.7535 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.5008, allocations: 75.06 kB / 0.7536 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.5029, allocations: 1.016 MB / 0.7546 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.5029, allocations: 8 kB / 0.7546 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.5029, allocations: 0 / 0.7546 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.5029, allocations: 3.984 kB / 0.7546 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002663/0.5056, allocations: 1.866 MB / 0.7564 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5056, allocations: 0 / 0.7564 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005242/0.5062, allocations: 147.8 kB / 0.7566 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004674/0.5066, allocations: 80.77 kB / 0.7567 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.732e-05/0.5067, allocations: 27.92 kB / 0.7567 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/0.5082, allocations: 1.546 MB / 0.7582 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5082, allocations: 4.062 kB / 0.7582 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.5099, allocations: 0.918 MB / 0.7591 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/0.5101, allocations: 255.8 kB / 0.7593 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.542e-05/0.5102, allocations: 15.94 kB / 0.7594 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005158/0.5107, allocations: 55.94 kB / 0.7594 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.5109, allocations: 60.86 kB / 0.7595 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.797e-05/0.5109, allocations: 43.91 kB / 0.7595 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000411/0.5113, allocations: 427.1 kB / 0.7599 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5113, allocations: 0 / 0.7599 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006394/0.512, allocations: 287.3 kB / 0.7602 GB, free: 7.758 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 (87): * Single equations (assignments): 84 * 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.002845/0.5148, allocations: 1.963 MB / 0.7621 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.5161, allocations: 0.7231 MB / 0.7628 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5161, allocations: 0 / 0.7628 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007477/0.5168, allocations: 0.4931 MB / 0.7633 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.5179, allocations: 260.2 kB / 0.7635 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009631/0.5275, allocations: 6.434 MB / 0.7698 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.528, allocations: 1.012 MB / 0.7708 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006655/0.5286, allocations: 246.3 kB / 0.771 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004236/0.5291, allocations: 359.3 kB / 0.7714 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.5291, allocations: 0 / 0.7714 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8729/1.402, allocations: 19.04 MB / 0.79 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002886/1.402, allocations: 301.8 kB / 0.7903 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/3.581, allocations: 0 / 0.7903 GB, free: 9.285 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)