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.005268/0.005268, allocations: 95.44 kB / 15.73 MB, free: 6.051 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.001301/0.001301, allocations: 199.5 kB / 16.68 MB, free: 5.973 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002484/0.002484, allocations: 283 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.073/1.073, allocations: 178.6 MB / 0.5074 GB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002676/0.002676, allocations: 100.5 kB / 0.6943 GB, free: 3.555 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4794/0.4821, allocations: 89.14 MB / 0.7814 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001654/0.4838, allocations: 0.5938 MB / 0.782 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003482/0.4842, allocations: 104.1 kB / 0.7821 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.051e-05/0.4842, allocations: 0 / 0.7821 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.042e-05/0.4842, allocations: 0 / 0.7821 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.6e-06/0.4842, allocations: 5.375 kB / 0.7821 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.4845, allocations: 34.94 kB / 0.7821 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.139e-05/0.4846, allocations: 1.219 kB / 0.7821 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.4846, allocations: 2.484 kB / 0.7821 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.097e-05/0.4846, allocations: 3.938 kB / 0.7821 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.384e-05/0.4847, allocations: 1.344 kB / 0.7821 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.492e-06/0.4847, allocations: 0 / 0.7821 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.4848, allocations: 32.52 kB / 0.7821 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.4848, allocations: 5.297 kB / 0.7821 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.376e-05/0.4849, allocations: 4 kB / 0.7821 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.485, allocations: 31.98 kB / 0.7822 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.485, allocations: 4 kB / 0.7822 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.362e-06/0.485, allocations: 1.281 kB / 0.7822 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.485, allocations: 0.7969 kB / 0.7822 GB, free: 13.37 MB / 0.5606 GB 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.0002983/0.4853, allocations: 315.1 kB / 0.7825 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.4853, allocations: 9.562 kB / 0.7825 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.4854, allocations: 31.69 kB / 0.7825 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.4854, allocations: 2.406 kB / 0.7825 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.4855, allocations: 161.2 kB / 0.7827 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.4855, allocations: 384 / 0.7827 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-06/0.4856, allocations: 6.672 kB / 0.7827 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.079e-05/0.4856, allocations: 32.17 kB / 0.7827 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4857, allocations: 3.938 kB / 0.7827 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-06/0.4857, allocations: 3.938 kB / 0.7827 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.4857, allocations: 1.375 kB / 0.7827 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.143e-05/0.4857, allocations: 14.5 kB / 0.7827 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.4859, allocations: 144 kB / 0.7829 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.456e-05/0.4859, allocations: 19.92 kB / 0.7829 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.4859, allocations: 6.672 kB / 0.7829 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000199/0.4861, allocations: 88.05 kB / 0.783 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.4862, allocations: 34.34 kB / 0.783 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.4862, allocations: 0 / 0.783 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001257/0.4863, allocations: 38.69 kB / 0.7831 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.4863, allocations: 51.41 kB / 0.7831 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.548e-05/0.4864, allocations: 89.98 kB / 0.7832 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.4864, allocations: 30.36 kB / 0.7832 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.15e-05/0.4864, allocations: 81.2 kB / 0.7833 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.4865, allocations: 7.891 kB / 0.7833 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.4865, allocations: 19.08 kB / 0.7833 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4866, allocations: 311.6 kB / 0.7836 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.555e-06/0.4867, allocations: 0 / 0.7836 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-06/0.4867, allocations: 0.5156 kB / 0.7836 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.449e-05/0.4867, allocations: 13.41 kB / 0.7836 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4867, allocations: 0 / 0.7836 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.918e-05/0.4868, allocations: 41.17 kB / 0.7837 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.4868, allocations: 5.531 kB / 0.7837 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.4868, allocations: 3.938 kB / 0.7837 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.4868, allocations: 0.5625 kB / 0.7837 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.177e-05/0.4869, allocations: 1.125 kB / 0.7837 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.4869, allocations: 0.6562 kB / 0.7837 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.348e-06/0.4869, allocations: 1.344 kB / 0.7837 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.4869, allocations: 0 / 0.7837 GB, free: 11.66 MB / 0.5606 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 (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 7.073e-05/0.487, allocations: 115.9 kB / 0.7838 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.487, allocations: 2.453 kB / 0.7838 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.368e-05/0.4871, allocations: 42.45 kB / 0.7838 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.4871, allocations: 0 / 0.7838 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4871, allocations: 0.5625 kB / 0.7838 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.4871, allocations: 1.375 kB / 0.7838 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.4872, allocations: 151.5 kB / 0.784 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4872, allocations: 9.406 kB / 0.784 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.232e-05/0.4872, allocations: 7.922 kB / 0.784 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.4872, allocations: 0 / 0.784 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.4872, allocations: 4.547 kB / 0.784 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.4873, allocations: 3.938 kB / 0.784 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4873, allocations: 0.5156 kB / 0.784 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.747e-05/0.4873, allocations: 52.19 kB / 0.7841 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.4874, allocations: 83.27 kB / 0.7841 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.4874, allocations: 4.594 kB / 0.7841 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-06/0.4874, allocations: 4.031 kB / 0.7841 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-06/0.4874, allocations: 5.922 kB / 0.7841 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.4874, allocations: 0 / 0.7841 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.326e-05/0.4875, allocations: 79.39 kB / 0.7842 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4875, allocations: 0 / 0.7842 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001858/0.4877, allocations: 6.438 kB / 0.7842 GB, free: 11.04 MB / 0.5606 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 (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.0004457/0.4881, allocations: 0.6097 MB / 0.7848 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.974e-05/0.4882, allocations: 4.969 kB / 0.7848 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4882, allocations: 3.938 kB / 0.7848 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.761e-06/0.4882, allocations: 1.406 kB / 0.7848 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.4883, allocations: 7.5 kB / 0.7848 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002515/0.4886, allocations: 100.4 kB / 0.7849 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.4889, allocations: 0.6702 MB / 0.7856 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.668e-06/0.4889, allocations: 0 / 0.7856 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.481e-05/0.4889, allocations: 13.06 kB / 0.7856 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.4889, allocations: 0 / 0.7856 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.5097, allocations: 1.161 MB / 0.7867 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.65/8.159, allocations: 20.94 kB / 0.7868 GB, free: 9.23 MB / 0.5606 GB (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)