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: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.005828/0.005828, allocations: 103.5 kB / 15.73 MB, free: 6.043 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.001531/0.001531, allocations: 201.5 kB / 16.68 MB, free: 5.98 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.774/0.774, allocations: 132.2 MB / 422.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 69.11 kB / 0.5809 GB, free: 23.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1477, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002391/0.1502, allocations: 1.405 MB / 0.6606 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005431/0.1507, allocations: 375.1 kB / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.826e-05/0.1508, allocations: 0 / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.15e-05/0.1508, allocations: 0 / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.148e-05/0.1509, allocations: 7.922 kB / 0.6609 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.01e-05/0.1509, allocations: 4 kB / 0.6609 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.749e-05/0.151, allocations: 15.94 kB / 0.661 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.405e-05/0.1511, allocations: 15.97 kB / 0.661 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.1512, allocations: 11.94 kB / 0.661 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.377e-05/0.1512, allocations: 7.938 kB / 0.661 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.247e-06/0.1513, allocations: 0 / 0.661 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.867e-06/0.1513, allocations: 0 / 0.661 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.1513, allocations: 7.984 kB / 0.661 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.866e-05/0.1513, allocations: 7.938 kB / 0.661 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.032e-05/0.1514, allocations: 10.8 kB / 0.661 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1514, allocations: 8 kB / 0.661 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1514, allocations: 0 / 0.661 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.1514, allocations: 4 kB / 0.661 GB, free: 8.879 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.0002931/0.1517, allocations: 322 kB / 0.6613 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.1517, allocations: 11.97 kB / 0.6614 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.063e-05/0.1518, allocations: 34.75 kB / 0.6614 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.697e-05/0.1518, allocations: 8.844 kB / 0.6614 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.1519, allocations: 164.9 kB / 0.6615 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.1519, allocations: 384 / 0.6616 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-06/0.1519, allocations: 384 / 0.6616 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.555e-05/0.152, allocations: 45.75 kB / 0.6616 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.301e-06/0.152, allocations: 8 kB / 0.6616 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-06/0.152, allocations: 0 / 0.6616 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.152, allocations: 0 / 0.6616 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.132e-05/0.152, allocations: 4 kB / 0.6616 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002366/0.1523, allocations: 248.9 kB / 0.6618 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.018e-05/0.1523, allocations: 22.52 kB / 0.6619 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.453e-05/0.1524, allocations: 16.92 kB / 0.6619 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.562e-06/0.1524, allocations: 4 kB / 0.6619 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.1524, allocations: 34.55 kB / 0.6619 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1524, allocations: 0 / 0.6619 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001094/0.1525, allocations: 37.7 kB / 0.662 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.1525, allocations: 51.41 kB / 0.662 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.164e-05/0.1526, allocations: 101.8 kB / 0.6621 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.1526, allocations: 29.83 kB / 0.6621 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.1527, allocations: 88.36 kB / 0.6622 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.1527, allocations: 11.84 kB / 0.6622 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.1527, allocations: 13.72 kB / 0.6622 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.644e-05/0.1528, allocations: 314.8 kB / 0.6625 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-06/0.1528, allocations: 0 / 0.6625 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.378e-06/0.1529, allocations: 8 kB / 0.6625 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.171e-05/0.1529, allocations: 12.84 kB / 0.6626 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1529, allocations: 8.062 kB / 0.6626 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.728e-05/0.1529, allocations: 41.61 kB / 0.6626 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.153, allocations: 8 kB / 0.6626 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.153, allocations: 0 / 0.6626 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.153, allocations: 0 / 0.6626 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.426e-05/0.153, allocations: 7.938 kB / 0.6626 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.153, allocations: 3.984 kB / 0.6626 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.751e-05/0.1531, allocations: 0 / 0.6626 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-06/0.1531, allocations: 3.938 kB / 0.6626 GB, free: 7.016 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 5.898e-05/0.1531, allocations: 126.7 kB / 0.6627 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.1532, allocations: 4 kB / 0.6628 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.457e-05/0.1532, allocations: 3.312 kB / 0.6628 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1532, allocations: 3.984 kB / 0.6628 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1532, allocations: 0 / 0.6628 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-06/0.1532, allocations: 0 / 0.6628 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.1533, allocations: 157.6 kB / 0.6629 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1533, allocations: 0 / 0.6629 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.758e-05/0.1534, allocations: 4 kB / 0.6629 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1534, allocations: 0 / 0.6629 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-06/0.1534, allocations: 4 kB / 0.6629 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1534, allocations: 0 / 0.6629 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1534, allocations: 0 / 0.6629 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.705e-05/0.1535, allocations: 143.4 kB / 0.6631 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.1535, allocations: 77.11 kB / 0.6631 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.235e-06/0.1535, allocations: 0 / 0.6631 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.249e-05/0.1536, allocations: 3.938 kB / 0.6631 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.214e-05/0.1536, allocations: 4.031 kB / 0.6631 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1536, allocations: 7.984 kB / 0.6631 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.938e-05/0.1537, allocations: 83.28 kB / 0.6632 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1537, allocations: 0 / 0.6632 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002012/0.1539, allocations: 0 / 0.6632 GB, free: 6.309 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.0003304/0.1542, allocations: 0.6772 MB / 0.6639 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.455e-05/0.1543, allocations: 11.94 kB / 0.6639 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1543, allocations: 0 / 0.6639 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.165e-06/0.1543, allocations: 4 kB / 0.6639 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.1545, allocations: 4 kB / 0.6639 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007788/0.1553, allocations: 1.152 MB / 0.665 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.1555, allocations: 0.669 MB / 0.6657 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.27e-05/0.1555, allocations: 4 kB / 0.6657 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.1555, allocations: 15.52 kB / 0.6657 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1555, allocations: 0 / 0.6657 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01506/0.1706, allocations: 1.047 MB / 0.6667 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.881/7.051, allocations: 18.17 kB / 0.6667 GB, free: 2.715 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)