Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1",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.001531/0.001531, allocations: 108 kB / 15.61 MB, free: 152 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.001541/0.001541, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002574/0.002574, allocations: 286.5 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.963/0.963, allocations: 169.3 MB / 0.4982 GB, free: 13.9 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002711/0.002712, allocations: 107.8 kB / 0.5954 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1454, allocations: 86.97 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.00185/0.1473, allocations: 0.5729 MB / 0.6809 GB, free: 4 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003396/0.1476, allocations: 101.4 kB / 0.681 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.878e-06/0.1477, allocations: 3.938 kB / 0.681 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.252e-05/0.1477, allocations: 0 / 0.681 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.318e-06/0.1477, allocations: 0 / 0.681 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.148, allocations: 36.39 kB / 0.681 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.167e-05/0.148, allocations: 4.5 kB / 0.681 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.768e-05/0.1481, allocations: 0.5312 kB / 0.681 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.162e-05/0.1481, allocations: 0 / 0.681 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.294e-05/0.1481, allocations: 0.6562 kB / 0.681 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.043e-06/0.1481, allocations: 1.625 kB / 0.681 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.1483, allocations: 39.91 kB / 0.681 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.596e-06/0.1483, allocations: 3.984 kB / 0.681 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.258e-05/0.1483, allocations: 0 / 0.681 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.1484, allocations: 31.91 kB / 0.6811 GB, free: 15.79 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1485, allocations: 3.031 kB / 0.6811 GB, free: 15.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1485, allocations: 0 / 0.6811 GB, free: 15.79 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1485, allocations: 0 / 0.6811 GB, free: 15.79 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003151/0.1488, allocations: 315.6 kB / 0.6814 GB, free: 15.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.1488, allocations: 8.031 kB / 0.6814 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.1489, allocations: 38.75 kB / 0.6814 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.1489, allocations: 4.938 kB / 0.6814 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.149, allocations: 165 kB / 0.6816 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.149, allocations: 1.25 kB / 0.6816 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.09e-06/0.1491, allocations: 384 / 0.6816 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.254e-05/0.1491, allocations: 34.73 kB / 0.6816 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1492, allocations: 4.938 kB / 0.6816 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.1492, allocations: 0 / 0.6816 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1492, allocations: 0 / 0.6816 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.454e-05/0.1492, allocations: 1.062 kB / 0.6816 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.1494, allocations: 145.7 kB / 0.6818 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.202e-05/0.1494, allocations: 34.52 kB / 0.6818 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.423e-05/0.1494, allocations: 4.859 kB / 0.6818 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002069/0.1496, allocations: 89.09 kB / 0.6819 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1497, allocations: 30.56 kB / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1497, allocations: 0 / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001412/0.1498, allocations: 41.64 kB / 0.682 GB, free: 14.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.1499, allocations: 55.53 kB / 0.682 GB, free: 14.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.142e-05/0.1499, allocations: 89.86 kB / 0.6821 GB, free: 14.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1499, allocations: 25.7 kB / 0.6821 GB, free: 14.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.154e-05/0.15, allocations: 80.14 kB / 0.6822 GB, free: 14.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.15, allocations: 4.266 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/0.15, allocations: 13.72 kB / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1502, allocations: 314.8 kB / 0.6825 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.046e-06/0.1502, allocations: 0 / 0.6825 GB, free: 14.08 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-06/0.1502, allocations: 7.938 kB / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.575e-05/0.1502, allocations: 12.86 kB / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1503, allocations: 0 / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.415e-05/0.1503, allocations: 33.64 kB / 0.6826 GB, free: 14.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1503, allocations: 8 kB / 0.6826 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1504, allocations: 3.938 kB / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1504, allocations: 0 / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.526e-05/0.1504, allocations: 3.984 kB / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1504, allocations: 0 / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.138e-05/0.1504, allocations: 8.031 kB / 0.6826 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.1504, allocations: 4 kB / 0.6826 GB, free: 13.99 MB / 494.1 MB 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 (1): * Single equations (assignments): 1 * 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 9.062e-05/0.1505, allocations: 107.2 kB / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.1506, allocations: 0 / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.522e-05/0.1506, allocations: 48.69 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1507, allocations: 0 / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/0.1507, allocations: 3.984 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1507, allocations: 4 kB / 0.6827 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.1508, allocations: 149.6 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1508, allocations: 0 / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.848e-06/0.1508, allocations: 0 / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.1508, allocations: 0 / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.1508, allocations: 7.938 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.1508, allocations: 0 / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1508, allocations: 4 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.15e-05/0.1509, allocations: 61.06 kB / 0.683 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.217e-05/0.151, allocations: 81.14 kB / 0.683 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.151, allocations: 7.938 kB / 0.683 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-06/0.151, allocations: 0 / 0.683 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-06/0.1511, allocations: 3.938 kB / 0.683 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.1511, allocations: 0 / 0.683 GB, free: 13.42 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.235e-05/0.1511, allocations: 75.28 kB / 0.6831 GB, free: 13.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1511, allocations: 0 / 0.6831 GB, free: 13.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001917/0.1513, allocations: 11.98 kB / 0.6831 GB, free: 13.33 MB / 494.1 MB 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 (1): * Single equations (assignments): 1 * 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.0004759/0.1518, allocations: 0.6085 MB / 0.6837 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.376e-05/0.1519, allocations: 11.94 kB / 0.6837 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1519, allocations: 0 / 0.6837 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.989e-06/0.1519, allocations: 4 kB / 0.6837 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.152, allocations: 13.75 kB / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.1523, allocations: 106.7 kB / 0.6839 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.1526, allocations: 0.669 MB / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.817e-06/0.1526, allocations: 0 / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.503e-05/0.1526, allocations: 7.438 kB / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1526, allocations: 0 / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.1723, allocations: 1.143 MB / 0.6856 GB, free: 10.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.333/7.506, allocations: 13.31 kB / 0.6856 GB, free: 10.79 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.csv --start-time 0.01 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001196 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)