Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_dev_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.004075/0.004075, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001031/0.001031, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7788/0.7788, allocations: 135.1 MB / 425.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 62.69 kB / 0.5851 GB, free: 21.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1265, allocations: 80.91 MB / 0.6642 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002218/0.1288, allocations: 1.418 MB / 0.6656 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000557/0.1293, allocations: 367.2 kB / 0.6659 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.898e-05/0.1294, allocations: 4 kB / 0.6659 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.476e-05/0.1294, allocations: 0 / 0.6659 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.588e-05/0.1295, allocations: 7.938 kB / 0.6659 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.215e-05/0.1295, allocations: 0 / 0.6659 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.295e-05/0.1296, allocations: 23.91 kB / 0.6659 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.493e-05/0.1297, allocations: 8 kB / 0.6659 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.1298, allocations: 11.92 kB / 0.666 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.644e-05/0.1298, allocations: 7.938 kB / 0.666 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.926e-06/0.1299, allocations: 0 / 0.666 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.879e-06/0.1299, allocations: 0 / 0.666 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.1299, allocations: 8 kB / 0.666 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.1299, allocations: 7.938 kB / 0.666 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.17e-05/0.13, allocations: 20.19 kB / 0.666 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.13, allocations: 0 / 0.666 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.13, allocations: 3.938 kB / 0.666 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.13, allocations: 4 kB / 0.666 GB, free: 4.383 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.0003504/0.1304, allocations: 323.5 kB / 0.6663 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.1304, allocations: 9.109 kB / 0.6663 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.991e-05/0.1304, allocations: 34.73 kB / 0.6664 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.027e-05/0.1305, allocations: 16.83 kB / 0.6664 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.1306, allocations: 164.4 kB / 0.6665 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.1306, allocations: 384 / 0.6665 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.1306, allocations: 384 / 0.6665 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.103e-05/0.1307, allocations: 45.75 kB / 0.6666 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1307, allocations: 0 / 0.6666 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.1307, allocations: 0 / 0.6666 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1307, allocations: 4 kB / 0.6666 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.696e-05/0.1308, allocations: 8 kB / 0.6666 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.131, allocations: 240.9 kB / 0.6668 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.349e-05/0.1311, allocations: 26.58 kB / 0.6668 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.64e-05/0.1311, allocations: 12.86 kB / 0.6669 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.661e-06/0.1311, allocations: 0 / 0.6669 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1312, allocations: 38.56 kB / 0.6669 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1312, allocations: 0 / 0.6669 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001315/0.1313, allocations: 45.69 kB / 0.6669 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.1313, allocations: 51.41 kB / 0.667 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.691e-05/0.1314, allocations: 93.86 kB / 0.6671 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1314, allocations: 25.7 kB / 0.6671 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.1315, allocations: 92.09 kB / 0.6672 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.1315, allocations: 3.953 kB / 0.6672 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.1315, allocations: 13.7 kB / 0.6672 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.1316, allocations: 326.9 kB / 0.6675 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.12e-05/0.1317, allocations: 3.938 kB / 0.6675 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.448e-05/0.1317, allocations: 4 kB / 0.6675 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.3e-05/0.1317, allocations: 12.86 kB / 0.6675 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1317, allocations: 0 / 0.6675 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.468e-05/0.1318, allocations: 37.69 kB / 0.6676 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.1318, allocations: 4 kB / 0.6676 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1318, allocations: 4 kB / 0.6676 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1318, allocations: 96 / 0.6676 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.347e-05/0.1319, allocations: 4 kB / 0.6676 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.1319, allocations: 4 kB / 0.6676 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.882e-05/0.1319, allocations: 7.938 kB / 0.6676 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.1319, allocations: 0 / 0.6676 GB, free: 2.527 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 6.297e-05/0.132, allocations: 119 kB / 0.6677 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.132, allocations: 7.938 kB / 0.6677 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.492e-05/0.132, allocations: 7.062 kB / 0.6677 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.132, allocations: 0 / 0.6677 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.132, allocations: 3.984 kB / 0.6677 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.132, allocations: 4.188 kB / 0.6677 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.1322, allocations: 157.6 kB / 0.6679 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1322, allocations: 3.984 kB / 0.6679 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.727e-05/0.1322, allocations: 4 kB / 0.6679 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.1322, allocations: 0 / 0.6679 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.1322, allocations: 0 / 0.6679 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1322, allocations: 0 / 0.6679 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1323, allocations: 4 kB / 0.6679 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.081e-05/0.1323, allocations: 143.5 kB / 0.668 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.1324, allocations: 85.06 kB / 0.6681 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.848e-06/0.1324, allocations: 0 / 0.6681 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.717e-05/0.1325, allocations: 0 / 0.6681 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.1325, allocations: 3.938 kB / 0.6681 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.1325, allocations: 4 kB / 0.6681 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.158e-05/0.1325, allocations: 75.28 kB / 0.6682 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1325, allocations: 0 / 0.6682 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002166/0.1328, allocations: 4 kB / 0.6682 GB, free: 1.816 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.0003407/0.1331, allocations: 0.6734 MB / 0.6688 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.448e-05/0.1332, allocations: 15.92 kB / 0.6689 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1332, allocations: 0 / 0.6689 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.165e-05/0.1332, allocations: 8 kB / 0.6689 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.1334, allocations: 6.031 kB / 0.6689 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008533/0.1343, allocations: 1.144 MB / 0.67 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.1345, allocations: 0.6768 MB / 0.6707 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.566e-05/0.1345, allocations: 0 / 0.6707 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.1346, allocations: 7.438 kB / 0.6707 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1346, allocations: 0 / 0.6707 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/0.1496, allocations: 1.071 MB / 0.6717 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.161/7.311, allocations: 3.25 kB / 0.6717 GB, free: 14.22 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)