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.001019/0.001019, allocations: 112.5 kB / 15.73 MB, free: 76 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.0009944/0.0009944, allocations: 188.9 kB / 16.67 MB, free: 6.543 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.231/1.231, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.701/0.701, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 71.77 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1328, allocations: 80.21 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002305/0.1351, allocations: 1.416 MB / 0.6606 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005227/0.1356, allocations: 367.1 kB / 0.6609 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.114e-05/0.1357, allocations: 0 / 0.6609 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/0.1357, allocations: 7.938 kB / 0.6609 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.982e-05/0.1358, allocations: 3.984 kB / 0.6609 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.047e-05/0.1358, allocations: 8 kB / 0.661 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.702e-05/0.1359, allocations: 15.94 kB / 0.661 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.093e-05/0.136, allocations: 3.984 kB / 0.661 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.1361, allocations: 15.94 kB / 0.661 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.364e-05/0.1362, allocations: 3.938 kB / 0.661 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.1362, allocations: 3.984 kB / 0.661 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.019e-06/0.1362, allocations: 4 kB / 0.661 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.1362, allocations: 7.984 kB / 0.661 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.222e-05/0.1362, allocations: 11.94 kB / 0.661 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.725e-05/0.1363, allocations: 12.2 kB / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.1363, allocations: 0 / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.72e-07/0.1363, allocations: 0 / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.1363, allocations: 0 / 0.661 GB, free: 12.11 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.0003528/0.1367, allocations: 327.5 kB / 0.6613 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1367, allocations: 8.031 kB / 0.6613 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.1368, allocations: 38.75 kB / 0.6614 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.664e-05/0.1368, allocations: 4.875 kB / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.1369, allocations: 168.3 kB / 0.6616 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.137, allocations: 4.375 kB / 0.6616 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.55e-06/0.137, allocations: 384 / 0.6616 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.43e-05/0.137, allocations: 41.81 kB / 0.6616 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1371, allocations: 0 / 0.6616 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-06/0.1371, allocations: 0 / 0.6616 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.1371, allocations: 0 / 0.6616 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.366e-05/0.1371, allocations: 4 kB / 0.6616 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.1374, allocations: 248.9 kB / 0.6618 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.309e-05/0.1374, allocations: 22.52 kB / 0.6619 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.708e-05/0.1374, allocations: 16.92 kB / 0.6619 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-06/0.1375, allocations: 3.984 kB / 0.6619 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.1375, allocations: 30.56 kB / 0.6619 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1375, allocations: 0 / 0.6619 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001195/0.1376, allocations: 49.59 kB / 0.662 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.1377, allocations: 55.41 kB / 0.662 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.327e-05/0.1377, allocations: 101.8 kB / 0.6621 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.1378, allocations: 25.7 kB / 0.6621 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.1378, allocations: 80.14 kB / 0.6622 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.1378, allocations: 7.953 kB / 0.6622 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.1379, allocations: 17.66 kB / 0.6622 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.857e-05/0.138, allocations: 314.8 kB / 0.6625 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.138, allocations: 8.125 kB / 0.6625 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-06/0.138, allocations: 7.984 kB / 0.6625 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.251e-05/0.138, allocations: 12.86 kB / 0.6626 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.138, allocations: 0 / 0.6626 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.519e-05/0.1381, allocations: 41.64 kB / 0.6626 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.1381, allocations: 4 kB / 0.6626 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.1381, allocations: 0 / 0.6626 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.1381, allocations: 0 / 0.6626 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.211e-05/0.1382, allocations: 4.094 kB / 0.6626 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.1382, allocations: 4 kB / 0.6626 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.723e-05/0.1382, allocations: 4.125 kB / 0.6626 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-06/0.1382, allocations: 0 / 0.6626 GB, free: 10.25 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.82e-05/0.1383, allocations: 126.4 kB / 0.6627 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.1383, allocations: 7.922 kB / 0.6627 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.587e-05/0.1383, allocations: 3.125 kB / 0.6627 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.1383, allocations: 0 / 0.6627 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1383, allocations: 0 / 0.6627 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.1383, allocations: 4 kB / 0.6627 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.1385, allocations: 161.6 kB / 0.6629 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1385, allocations: 0 / 0.6629 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.748e-05/0.1385, allocations: 4 kB / 0.6629 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1385, allocations: 0 / 0.6629 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-06/0.1385, allocations: 4 kB / 0.6629 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1385, allocations: 0 / 0.6629 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1385, allocations: 0 / 0.6629 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.715e-05/0.1386, allocations: 143.4 kB / 0.663 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.943e-05/0.1387, allocations: 81.06 kB / 0.6631 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.1387, allocations: 4 kB / 0.6631 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.987e-05/0.1388, allocations: 0 / 0.6631 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-06/0.1388, allocations: 0 / 0.6631 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.1388, allocations: 3.984 kB / 0.6631 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.722e-05/0.1388, allocations: 83.28 kB / 0.6632 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1388, allocations: 0 / 0.6632 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002176/0.1391, allocations: 4 kB / 0.6632 GB, free: 9.539 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.0003285/0.1394, allocations: 0.6734 MB / 0.6639 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.94e-05/0.1395, allocations: 8 kB / 0.6639 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.1395, allocations: 0 / 0.6639 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.967e-06/0.1395, allocations: 4 kB / 0.6639 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.1397, allocations: 11.94 kB / 0.6639 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008037/0.1405, allocations: 1.156 MB / 0.665 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.1407, allocations: 0.6729 MB / 0.6657 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.351e-05/0.1408, allocations: 0 / 0.6657 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.1408, allocations: 15.42 kB / 0.6657 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1408, allocations: 0 / 0.6657 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.1564, allocations: 1.053 MB / 0.6667 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.681/6.837, allocations: 15.56 kB / 0.6667 GB, free: 5.945 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)