Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.0009379/0.0009379, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005747/0.005747, allocations: 170.6 kB / 16.27 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.245/1.245, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8766/0.8766, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003068, allocations: 8.625 kB / 0.5077 GB, free: 4.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1331, allocations: 82.31 MB / 0.5881 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004407/0.1376, allocations: 3.788 MB / 0.5918 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.414/0.5516, allocations: 146.7 MB / 0.735 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000663/0.5523, allocations: 17.97 kB / 0.735 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004688/0.5528, allocations: 140.5 kB / 0.7351 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.5541, allocations: 404.4 kB / 0.7355 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.5562, allocations: 0.7239 MB / 0.7362 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.5574, allocations: 1.137 MB / 0.7374 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008183/0.5583, allocations: 0.5956 MB / 0.7379 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000497/0.5588, allocations: 320.9 kB / 0.7382 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004474/0.5592, allocations: 355.1 kB / 0.7386 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.414e-05/0.5593, allocations: 22.28 kB / 0.7386 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008435/0.5602, allocations: 380 kB / 0.739 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.5604, allocations: 176.2 kB / 0.7391 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003641/0.5607, allocations: 429.9 kB / 0.7395 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.5622, allocations: 1.42 MB / 0.7409 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5622, allocations: 1.438 kB / 0.7409 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5622, allocations: 0 / 0.7409 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.5622, allocations: 0 / 0.7409 GB, free: 11.72 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.001891/0.5641, allocations: 1.153 MB / 0.7421 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.5641, allocations: 12.56 kB / 0.7421 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/0.5643, allocations: 134.2 kB / 0.7422 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008225/0.5652, allocations: 194 kB / 0.7424 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008769/0.566, allocations: 0.717 MB / 0.7431 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.5661, allocations: 62.94 kB / 0.7431 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.5662, allocations: 84.95 kB / 0.7432 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.5677, allocations: 0.895 MB / 0.7441 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.5677, allocations: 4 kB / 0.7441 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.04e-05/0.5678, allocations: 41.8 kB / 0.7441 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.5678, allocations: 19.22 kB / 0.7442 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.5695, allocations: 1.104 MB / 0.7452 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003622/0.5731, allocations: 2.553 MB / 0.7477 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.5748, allocations: 0.8731 MB / 0.7486 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004678/0.5753, allocations: 299.3 kB / 0.7489 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.92e-05/0.5753, allocations: 36.11 kB / 0.7489 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007139/0.576, allocations: 449.8 kB / 0.7493 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 4.789e-06/0.5761, allocations: 0 / 0.7493 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.002768/0.5788, allocations: 1.14 MB / 0.7504 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.441e-05/0.5789, allocations: 190.5 kB / 0.7506 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006655/0.5796, allocations: 0.5973 MB / 0.7512 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/0.5797, allocations: 37.7 kB / 0.7512 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.5799, allocations: 384.3 kB / 0.7516 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.5801, allocations: 256.3 kB / 0.7519 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-05/0.5802, allocations: 53.69 kB / 0.7519 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.5804, allocations: 390.6 kB / 0.7523 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004397/0.5808, allocations: 229.2 kB / 0.7525 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005136/0.5813, allocations: 338.8 kB / 0.7528 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009561/0.5823, allocations: 0.5628 MB / 0.7534 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5823, allocations: 0 / 0.7534 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00166/0.584, allocations: 0.7588 MB / 0.7541 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.584, allocations: 4 kB / 0.7541 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.584, allocations: 4.062 kB / 0.7541 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005726/0.5846, allocations: 80.77 kB / 0.7542 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005811/0.5852, allocations: 155.7 kB / 0.7543 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.5872, allocations: 1.517 MB / 0.7558 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006981/0.5879, allocations: 92.81 kB / 0.7559 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/0.588, allocations: 35.91 kB / 0.7559 GB, free: 15.89 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 (solAzi.outsidePolarCircle,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 (80): * Single equations (assignments): 79 * 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.000374/0.5883, allocations: 248.5 kB / 0.7562 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.5885, allocations: 89.94 kB / 0.7563 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/0.5908, allocations: 1.057 MB / 0.7573 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.5908, allocations: 8.094 kB / 0.7573 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.5908, allocations: 0 / 0.7573 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.5908, allocations: 11.95 kB / 0.7573 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003143/0.594, allocations: 1.951 MB / 0.7592 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.594, allocations: 3.984 kB / 0.7592 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005759/0.5946, allocations: 159.7 kB / 0.7594 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004927/0.5951, allocations: 88.77 kB / 0.7595 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.795e-05/0.5951, allocations: 23.98 kB / 0.7595 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.5968, allocations: 1.548 MB / 0.761 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5969, allocations: 0 / 0.761 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.5986, allocations: 0.9648 MB / 0.7619 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003224/0.599, allocations: 279.7 kB / 0.7622 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.903e-05/0.5991, allocations: 23.98 kB / 0.7622 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005913/0.5997, allocations: 68.77 kB / 0.7623 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.5998, allocations: 72.89 kB / 0.7624 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.354e-05/0.5999, allocations: 35.98 kB / 0.7624 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005097/0.6004, allocations: 431 kB / 0.7628 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6004, allocations: 4 kB / 0.7628 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008381/0.6012, allocations: 299.3 kB / 0.7631 GB, free: 8.309 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 (93): * Single equations (assignments): 90 * 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.003207/0.6044, allocations: 2.025 MB / 0.7651 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001471/0.6059, allocations: 0.7743 MB / 0.7658 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6059, allocations: 0 / 0.7658 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008468/0.6068, allocations: 0.512 MB / 0.7663 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.608, allocations: 257.4 kB / 0.7666 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.6193, allocations: 6.711 MB / 0.7731 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.6198, allocations: 1.008 MB / 0.7741 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008169/0.6206, allocations: 258.5 kB / 0.7744 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004777/0.6211, allocations: 371.3 kB / 0.7747 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of SimCode: time 6.92e-07/0.6211, allocations: 3.938 kB / 0.7747 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.131/1.752, allocations: 19.39 MB / 0.7937 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/1.753, allocations: 299.9 kB / 0.7939 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.646/4.399, allocations: 2.625 kB / 0.7939 GB, free: 9.074 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)