Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 109.6 kB / 16.41 MB, free: 6.492 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.001171/0.001171, allocations: 187 kB / 17.34 MB, free: 5.766 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.312/1.312, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7919/0.7919, allocations: 132.2 MB / 423.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 64.09 kB / 0.582 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1394, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002651/0.1421, allocations: 1.407 MB / 0.6617 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000772/0.143, allocations: 371.1 kB / 0.6621 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.073e-05/0.143, allocations: 0 / 0.6621 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.06e-05/0.1431, allocations: 0 / 0.6621 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.1432, allocations: 15.92 kB / 0.6621 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.768e-05/0.1432, allocations: 0 / 0.6621 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.434e-05/0.1433, allocations: 15.94 kB / 0.6621 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.1435, allocations: 7.984 kB / 0.6621 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.1437, allocations: 8 kB / 0.6621 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.059e-05/0.1437, allocations: 7.922 kB / 0.6621 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1438, allocations: 8 kB / 0.6621 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.602e-06/0.1438, allocations: 0 / 0.6621 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.1438, allocations: 7.984 kB / 0.6621 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/0.1438, allocations: 7.938 kB / 0.6622 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.46e-05/0.1439, allocations: 15.92 kB / 0.6622 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1439, allocations: 0 / 0.6622 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.084e-06/0.144, allocations: 7.875 kB / 0.6622 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.144, allocations: 0 / 0.6622 GB, free: 8.371 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004817/0.1445, allocations: 323.6 kB / 0.6625 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.1445, allocations: 16.03 kB / 0.6625 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.1446, allocations: 4.844 kB / 0.6625 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.1447, allocations: 168.3 kB / 0.6627 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.1448, allocations: 8.359 kB / 0.6627 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.1448, allocations: 384 / 0.6627 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.982e-05/0.1449, allocations: 38.02 kB / 0.6627 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1449, allocations: 0 / 0.6627 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.1449, allocations: 0 / 0.6627 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.1449, allocations: 0 / 0.6627 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.868e-05/0.145, allocations: 4 kB / 0.6627 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.1454, allocations: 252.9 kB / 0.663 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.692e-05/0.1454, allocations: 22.58 kB / 0.663 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.267e-05/0.1455, allocations: 16.91 kB / 0.663 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.1455, allocations: 0 / 0.663 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.1455, allocations: 30.56 kB / 0.663 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1455, allocations: 4 kB / 0.663 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001636/0.1457, allocations: 41.64 kB / 0.6631 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.1457, allocations: 55.41 kB / 0.6631 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.352e-05/0.1458, allocations: 101.8 kB / 0.6632 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.1458, allocations: 25.7 kB / 0.6632 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.958e-05/0.1459, allocations: 80.14 kB / 0.6633 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.1459, allocations: 11.84 kB / 0.6633 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.1459, allocations: 13.72 kB / 0.6633 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1461, allocations: 315 kB / 0.6636 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.372e-05/0.1461, allocations: 4 kB / 0.6636 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.045e-05/0.1461, allocations: 7.984 kB / 0.6637 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.876e-05/0.1461, allocations: 16.8 kB / 0.6637 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1461, allocations: 0 / 0.6637 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.877e-05/0.1462, allocations: 41.64 kB / 0.6637 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1462, allocations: 4 kB / 0.6637 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1462, allocations: 0 / 0.6637 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.1463, allocations: 4.094 kB / 0.6637 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.208e-05/0.1463, allocations: 4 kB / 0.6637 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1464, allocations: 4 kB / 0.6637 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.1464, allocations: 3.906 kB / 0.6637 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1464, allocations: 3.984 kB / 0.6637 GB, free: 6.555 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.279e-05/0.1465, allocations: 118.7 kB / 0.6638 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.1465, allocations: 0 / 0.6638 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.349e-05/0.1465, allocations: 7.062 kB / 0.6639 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1465, allocations: 3.938 kB / 0.6639 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.1466, allocations: 8 kB / 0.6639 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1466, allocations: 0 / 0.6639 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.1467, allocations: 157.6 kB / 0.664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1467, allocations: 0 / 0.664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.718e-05/0.1468, allocations: 0 / 0.664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1468, allocations: 0 / 0.664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.1468, allocations: 4 kB / 0.664 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1468, allocations: 3.938 kB / 0.664 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1468, allocations: 0 / 0.664 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.1469, allocations: 143.5 kB / 0.6642 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.1469, allocations: 77.3 kB / 0.6642 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.147, allocations: 4 kB / 0.6642 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.872e-05/0.147, allocations: 3.984 kB / 0.6642 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.576e-05/0.147, allocations: 3.984 kB / 0.6642 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.147, allocations: 4 kB / 0.6642 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.747e-05/0.1471, allocations: 79.28 kB / 0.6643 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1471, allocations: 0 / 0.6643 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000232/0.1473, allocations: 8.031 kB / 0.6643 GB, free: 5.844 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001186/0.1475, allocations: 95.25 kB / 0.6644 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.1476, allocations: 15.94 kB / 0.6644 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1476, allocations: 0 / 0.6644 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.181e-05/0.1476, allocations: 7.984 kB / 0.6644 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.1478, allocations: 6.344 kB / 0.6644 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.1481, allocations: 135.8 kB / 0.6646 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.1483, allocations: 0.6768 MB / 0.6652 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.55e-05/0.1484, allocations: 11.44 kB / 0.6652 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.1484, allocations: 0 / 0.6652 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of Templates: time 0.001845/0.1502, allocations: 434.7 kB / 0.6657 GB, free: 4.41 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)