Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.001081/0.00108, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001022/0.001022, allocations: 192.8 kB / 16.25 MB, free: 6.621 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.196/1.196, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001967/0.001967, allocations: 290.6 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8872/0.8872, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 102.2 kB / 0.5948 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1455, allocations: 86.97 MB / 0.6797 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002175/0.1477, allocations: 1.491 MB / 0.6812 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003389/0.148, allocations: 153 kB / 0.6813 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.005e-05/0.1481, allocations: 0 / 0.6813 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.913e-05/0.1481, allocations: 4 kB / 0.6813 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.598e-05/0.1482, allocations: 7.922 kB / 0.6813 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.1484, allocations: 31.92 kB / 0.6814 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.669e-05/0.1485, allocations: 19.98 kB / 0.6814 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.2e-05/0.1485, allocations: 7.984 kB / 0.6814 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.068e-05/0.1486, allocations: 7.938 kB / 0.6814 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.969e-05/0.1486, allocations: 11.98 kB / 0.6814 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.1486, allocations: 4 kB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.1487, allocations: 39.91 kB / 0.6815 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.064e-05/0.1488, allocations: 11.92 kB / 0.6815 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.1488, allocations: 4 kB / 0.6815 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.1489, allocations: 52.09 kB / 0.6815 GB, free: 15.13 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1489, allocations: 4 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1489, allocations: 0 / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1489, allocations: 0 / 0.6815 GB, free: 15.12 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003603/0.1493, allocations: 339.5 kB / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1493, allocations: 12.03 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.339e-05/0.1494, allocations: 38.69 kB / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.1494, allocations: 8.844 kB / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.855e-05/0.1495, allocations: 164.4 kB / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.1495, allocations: 384 / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.1495, allocations: 384 / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1497, allocations: 54.17 kB / 0.6821 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1497, allocations: 3.938 kB / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.1497, allocations: 3.938 kB / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1497, allocations: 0 / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.1499, allocations: 39.95 kB / 0.6822 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002498/0.1501, allocations: 241 kB / 0.6824 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.1502, allocations: 42.48 kB / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.074e-05/0.1503, allocations: 24.91 kB / 0.6825 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/0.1505, allocations: 85.09 kB / 0.6825 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.1505, allocations: 38.5 kB / 0.6826 GB, free: 13.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1505, allocations: 0 / 0.6826 GB, free: 13.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000312/0.1508, allocations: 81.55 kB / 0.6827 GB, free: 13.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.1509, allocations: 55.41 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.586e-05/0.1509, allocations: 102 kB / 0.6828 GB, free: 13.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.151, allocations: 25.7 kB / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.151, allocations: 84.12 kB / 0.6829 GB, free: 13.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.151, allocations: 15.83 kB / 0.6829 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.151, allocations: 13.72 kB / 0.6829 GB, free: 13.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.472e-05/0.1511, allocations: 310.8 kB / 0.6832 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.415e-05/0.1512, allocations: 15.98 kB / 0.6833 GB, free: 13.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.85e-05/0.1513, allocations: 27.91 kB / 0.6833 GB, free: 13.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.1514, allocations: 36.83 kB / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1514, allocations: 3.938 kB / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001756/0.1516, allocations: 61.66 kB / 0.6834 GB, free: 12.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1516, allocations: 8 kB / 0.6834 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1516, allocations: 4.094 kB / 0.6834 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.455e-06/0.1517, allocations: 0 / 0.6834 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.141e-05/0.1517, allocations: 7.984 kB / 0.6834 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1518, allocations: 4 kB / 0.6834 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.739e-05/0.1518, allocations: 0 / 0.6834 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.1518, allocations: 4 kB / 0.6834 GB, free: 12.95 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 (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.003e-05/0.1519, allocations: 115.1 kB / 0.6835 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.1519, allocations: 7.922 kB / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.1521, allocations: 72.78 kB / 0.6836 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1522, allocations: 0 / 0.6836 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1522, allocations: 0 / 0.6836 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1522, allocations: 4.125 kB / 0.6836 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.1523, allocations: 161.5 kB / 0.6837 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1523, allocations: 0 / 0.6837 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.458e-05/0.1524, allocations: 19.97 kB / 0.6838 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.1524, allocations: 0 / 0.6838 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.1524, allocations: 8.031 kB / 0.6838 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1524, allocations: 3.984 kB / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1524, allocations: 0 / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.1526, allocations: 163.4 kB / 0.6839 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.1527, allocations: 85.02 kB / 0.684 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.1527, allocations: 3.984 kB / 0.684 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-05/0.1527, allocations: 12.03 kB / 0.684 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.1528, allocations: 0 / 0.684 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.1528, allocations: 0 / 0.684 GB, free: 12.21 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.102e-05/0.1528, allocations: 83.27 kB / 0.6841 GB, free: 12.13 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1528, allocations: 0 / 0.6841 GB, free: 12.13 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002156/0.153, allocations: 12 kB / 0.6841 GB, free: 12.12 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 (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.0004963/0.1535, allocations: 0.7152 MB / 0.6848 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000176/0.1537, allocations: 31.97 kB / 0.6849 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1537, allocations: 4.094 kB / 0.6849 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.376e-05/0.1538, allocations: 19.98 kB / 0.6849 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.1541, allocations: 3.984 kB / 0.6849 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.1544, allocations: 143.3 kB / 0.685 GB, free: 11.14 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.1546, allocations: 0.6768 MB / 0.6857 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.501e-05/0.1546, allocations: 4 kB / 0.6857 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.1546, allocations: 15.44 kB / 0.6857 GB, free: 10.41 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1547, allocations: 0 / 0.6857 GB, free: 10.41 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.568/2.723, allocations: 1.36 MB / 0.687 GB, free: 9.199 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/2.723, allocations: 224.5 kB / 0.6872 GB, free: 8.938 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.429/5.152, allocations: 2.875 kB / 0.6872 GB, free: 8.938 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)