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.001206/0.001206, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.208/1.208, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.818/0.818, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.59 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1203, allocations: 80.92 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005019/0.1253, allocations: 4.122 MB / 0.5885 GB, free: 320 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.335/0.4603, allocations: 150.5 MB / 0.7354 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005564/0.4609, allocations: 20.44 kB / 0.7355 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004596/0.4614, allocations: 164.2 kB / 0.7356 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.4627, allocations: 482.2 kB / 0.7361 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.4642, allocations: 0.7932 MB / 0.7369 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009431/0.4652, allocations: 1.189 MB / 0.738 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00074/0.4659, allocations: 0.603 MB / 0.7386 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004286/0.4664, allocations: 436.4 kB / 0.739 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004003/0.4668, allocations: 453.7 kB / 0.7395 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.4669, allocations: 105.3 kB / 0.7396 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000594/0.4675, allocations: 451.5 kB / 0.74 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.4677, allocations: 273.8 kB / 0.7402 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003548/0.4681, allocations: 0.49 MB / 0.7407 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.4693, allocations: 1.448 MB / 0.7421 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4693, allocations: 0 / 0.7421 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4693, allocations: 0 / 0.7421 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.4693, allocations: 0 / 0.7421 GB, free: 8.504 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.001838/0.4712, allocations: 1.336 MB / 0.7434 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.4712, allocations: 9.531 kB / 0.7435 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001379/0.4714, allocations: 134.7 kB / 0.7436 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008152/0.4722, allocations: 175.6 kB / 0.7437 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008014/0.473, allocations: 0.7032 MB / 0.7444 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/0.473, allocations: 63 kB / 0.7445 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.303e-05/0.4731, allocations: 84.62 kB / 0.7446 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.4743, allocations: 0.8624 MB / 0.7454 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.4744, allocations: 2.469 kB / 0.7454 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.905e-05/0.4744, allocations: 35.09 kB / 0.7455 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.4745, allocations: 21.62 kB / 0.7455 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.4758, allocations: 1.067 MB / 0.7465 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002942/0.4788, allocations: 2.381 MB / 0.7488 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.4799, allocations: 0.803 MB / 0.7496 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004171/0.4803, allocations: 279 kB / 0.7499 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.541e-05/0.4804, allocations: 29.16 kB / 0.7499 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006763/0.4811, allocations: 427.9 kB / 0.7503 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.773e-06/0.4811, allocations: 0 / 0.7503 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002612/0.4837, allocations: 1.08 MB / 0.7514 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.4838, allocations: 197.8 kB / 0.7516 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005649/0.4844, allocations: 0.5822 MB / 0.7521 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.829e-05/0.4844, allocations: 41.7 kB / 0.7522 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.4847, allocations: 380.2 kB / 0.7525 GB, free: 304 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.4848, allocations: 236.5 kB / 0.7528 GB, free: 64 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.485, allocations: 134.2 kB / 0.7529 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.4851, allocations: 386.8 kB / 0.7533 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000391/0.4855, allocations: 213.2 kB / 0.7535 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004738/0.486, allocations: 327.6 kB / 0.7538 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008823/0.4869, allocations: 0.5324 MB / 0.7543 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4869, allocations: 3.938 kB / 0.7543 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001521/0.4884, allocations: 0.7276 MB / 0.755 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.4885, allocations: 5.406 kB / 0.755 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4885, allocations: 4 kB / 0.755 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000537/0.489, allocations: 88.81 kB / 0.7551 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005224/0.4896, allocations: 139.8 kB / 0.7552 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.4913, allocations: 1.626 MB / 0.7568 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004664/0.4918, allocations: 67.44 kB / 0.7569 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.821e-05/0.4918, allocations: 35.97 kB / 0.7569 GB, free: 11.58 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.0002744/0.4921, allocations: 249.8 kB / 0.7572 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.4923, allocations: 79 kB / 0.7572 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002031/0.4943, allocations: 1.013 MB / 0.7582 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.4943, allocations: 8 kB / 0.7582 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.4943, allocations: 0 / 0.7582 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.4943, allocations: 3.984 kB / 0.7582 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/0.497, allocations: 1.873 MB / 0.7601 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.497, allocations: 0 / 0.7601 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005112/0.4975, allocations: 151.9 kB / 0.7602 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003923/0.4979, allocations: 72.78 kB / 0.7603 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-05/0.498, allocations: 19.98 kB / 0.7603 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.4996, allocations: 1.658 MB / 0.7619 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4996, allocations: 5.578 kB / 0.7619 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.5012, allocations: 0.918 MB / 0.7628 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.5015, allocations: 259.7 kB / 0.7631 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.88e-05/0.5016, allocations: 23.92 kB / 0.7631 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005131/0.5021, allocations: 51.95 kB / 0.7631 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.5022, allocations: 60.91 kB / 0.7632 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.307e-05/0.5023, allocations: 31.98 kB / 0.7632 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004594/0.5027, allocations: 431 kB / 0.7636 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5027, allocations: 0 / 0.7636 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006951/0.5034, allocations: 283.4 kB / 0.7639 GB, free: 4.172 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.002914/0.5064, allocations: 1.959 MB / 0.7658 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00182/0.5082, allocations: 0.9221 MB / 0.7667 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5082, allocations: 0 / 0.7667 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007619/0.509, allocations: 0.4931 MB / 0.7672 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.51, allocations: 287.4 kB / 0.7675 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008852/0.5189, allocations: 6.068 MB / 0.7734 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.5194, allocations: 1.005 MB / 0.7744 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006731/0.5201, allocations: 254.2 kB / 0.7746 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/0.5205, allocations: 355.3 kB / 0.775 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of SimCode: time 1.483e-06/0.5205, allocations: 0 / 0.775 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.755/5.275, allocations: 19.72 MB / 0.7942 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.3/24.58, allocations: 6.656 kB / 0.7942 GB, free: 5.531 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)