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.001062/0.001062, allocations: 104 kB / 15.6 MB, free: 148 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.001274/0.001274, allocations: 192.1 kB / 16.53 MB, free: 6.625 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.276/1.276, allocations: 222.9 MB / 240.2 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001992/0.001992, allocations: 278.6 kB / 290.7 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9129/0.9129, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003046/0.003047, allocations: 97.33 kB / 0.5954 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1466, allocations: 86.98 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001677/0.1483, allocations: 0.5701 MB / 0.6809 GB, free: 12 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003304/0.1487, allocations: 116.6 kB / 0.681 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.045e-05/0.1487, allocations: 0 / 0.681 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.648e-06/0.1487, allocations: 0.6562 kB / 0.681 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.358e-06/0.1488, allocations: 0 / 0.681 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.1491, allocations: 33.97 kB / 0.681 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.895e-05/0.1491, allocations: 0 / 0.681 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.219e-05/0.1491, allocations: 0 / 0.681 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.061e-05/0.1491, allocations: 0 / 0.681 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.468e-05/0.1492, allocations: 4 kB / 0.681 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.903e-06/0.1492, allocations: 2.469 kB / 0.681 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.1493, allocations: 39.89 kB / 0.681 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.775e-06/0.1493, allocations: 0 / 0.681 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.419e-05/0.1494, allocations: 0 / 0.681 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.1495, allocations: 31.95 kB / 0.6811 GB, free: 15.79 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1495, allocations: 3.938 kB / 0.6811 GB, free: 15.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1495, allocations: 0 / 0.6811 GB, free: 15.79 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1495, allocations: 0.7812 kB / 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.0002584/0.1498, allocations: 320.5 kB / 0.6814 GB, free: 15.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1498, allocations: 12.03 kB / 0.6814 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.447e-05/0.1499, allocations: 31.28 kB / 0.6814 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.475e-05/0.1499, allocations: 0.9375 kB / 0.6814 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.15, allocations: 165.5 kB / 0.6816 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.1501, allocations: 384 / 0.6816 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.1501, allocations: 384 / 0.6816 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.1502, allocations: 35.19 kB / 0.6816 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1502, allocations: 7.938 kB / 0.6816 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.1502, allocations: 0 / 0.6816 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1502, allocations: 0 / 0.6816 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.968e-05/0.1503, allocations: 0 / 0.6816 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.1504, allocations: 149.7 kB / 0.6818 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.411e-05/0.1505, allocations: 18.52 kB / 0.6818 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.76e-05/0.1505, allocations: 4.859 kB / 0.6818 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/0.1507, allocations: 85.19 kB / 0.6819 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.1507, allocations: 46.55 kB / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1508, allocations: 0 / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001234/0.1509, allocations: 37.62 kB / 0.682 GB, free: 14.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.1509, allocations: 51.41 kB / 0.682 GB, free: 14.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.804e-05/0.1509, allocations: 89.86 kB / 0.6821 GB, free: 14.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.151, allocations: 25.7 kB / 0.6821 GB, free: 14.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.098e-05/0.151, allocations: 84.08 kB / 0.6822 GB, free: 14.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.151, allocations: 4.344 kB / 0.6822 GB, free: 14.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.151, allocations: 17.72 kB / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.389e-05/0.1511, allocations: 314.8 kB / 0.6825 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.666e-06/0.1512, allocations: 0 / 0.6825 GB, free: 14.08 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.677e-06/0.1512, allocations: 7.984 kB / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.199e-05/0.1512, allocations: 4.859 kB / 0.6825 GB, free: 14.06 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1512, allocations: 0 / 0.6825 GB, free: 14.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.167e-05/0.1513, allocations: 33.7 kB / 0.6826 GB, free: 14.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.1513, allocations: 12.03 kB / 0.6826 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1513, allocations: 3.938 kB / 0.6826 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1513, allocations: 0 / 0.6826 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.611e-05/0.1514, allocations: 4 kB / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1514, allocations: 7.938 kB / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.18e-05/0.1514, allocations: 3.938 kB / 0.6826 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.1514, allocations: 0 / 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 5.632e-05/0.1515, allocations: 115.1 kB / 0.6827 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.1515, allocations: 0 / 0.6827 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.871e-05/0.1516, allocations: 40.77 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1516, allocations: 4 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1516, allocations: 0 / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1516, allocations: 0 / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.785e-05/0.1517, allocations: 149.6 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1517, allocations: 0 / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.341e-05/0.1517, allocations: 4 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.1517, allocations: 0 / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1517, allocations: 3.938 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1517, allocations: 0 / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1517, allocations: 4.031 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.635e-05/0.1518, allocations: 65.06 kB / 0.683 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/0.1518, allocations: 77.11 kB / 0.683 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.1518, allocations: 3.938 kB / 0.683 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-06/0.1519, allocations: 0 / 0.683 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-06/0.1519, allocations: 0 / 0.683 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.1519, allocations: 0 / 0.683 GB, free: 13.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.133e-05/0.1519, allocations: 79.31 kB / 0.6831 GB, free: 13.36 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1519, allocations: 0 / 0.6831 GB, free: 13.36 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.1521, allocations: 12 kB / 0.6831 GB, free: 13.34 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.0003688/0.1525, allocations: 0.6163 MB / 0.6837 GB, free: 12.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.901e-05/0.1526, allocations: 4 kB / 0.6837 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1526, allocations: 3.938 kB / 0.6837 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.905e-06/0.1526, 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.0001194/0.1527, allocations: 0 / 0.6837 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.153, allocations: 114.7 kB / 0.6838 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.1532, allocations: 0.669 MB / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.648e-06/0.1532, allocations: 128 / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.518e-05/0.1532, allocations: 15.44 kB / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1533, allocations: 3.938 kB / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01491/0.1682, allocations: 1.144 MB / 0.6856 GB, free: 10.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.742/6.911, allocations: 11.89 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)