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.001106/0.001106, 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.001269/0.001269, allocations: 197 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.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002174/0.002174, allocations: 279 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.949/0.949, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001938, allocations: 99.86 kB / 0.5954 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1404, allocations: 86.98 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001755/0.1422, allocations: 0.565 MB / 0.6808 GB, free: 48 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003624/0.1426, allocations: 115.5 kB / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.241e-05/0.1426, allocations: 2.812 kB / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.055e-05/0.1426, allocations: 0 / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.769e-06/0.1426, allocations: 0 / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.143, allocations: 35.86 kB / 0.681 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.473e-05/0.143, allocations: 3.984 kB / 0.681 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.1431, allocations: 0 / 0.681 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.416e-05/0.1431, allocations: 3.984 kB / 0.681 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.687e-05/0.1431, allocations: 4 kB / 0.681 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.293e-06/0.1431, allocations: 0.7812 kB / 0.681 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.1433, allocations: 31.97 kB / 0.681 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.1433, allocations: 1.719 kB / 0.681 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.449e-05/0.1433, allocations: 3.938 kB / 0.681 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.1434, allocations: 35.89 kB / 0.6811 GB, free: 15.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1434, allocations: 0 / 0.6811 GB, free: 15.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1434, allocations: 0.6562 kB / 0.6811 GB, free: 15.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1434, allocations: 0 / 0.6811 GB, free: 15.82 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.0002849/0.1437, allocations: 316.5 kB / 0.6814 GB, free: 15.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1438, allocations: 12.62 kB / 0.6814 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.541e-05/0.1438, allocations: 34.75 kB / 0.6814 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.1439, allocations: 2 kB / 0.6814 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.287e-05/0.1439, allocations: 160.4 kB / 0.6816 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.144, allocations: 384 / 0.6816 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.144, allocations: 1.375 kB / 0.6816 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.806e-05/0.1441, allocations: 30.8 kB / 0.6816 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1441, allocations: 3.938 kB / 0.6816 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.1441, allocations: 4 kB / 0.6816 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1441, allocations: 3.938 kB / 0.6816 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.859e-05/0.1441, allocations: 3.984 kB / 0.6816 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.1442, allocations: 149.7 kB / 0.6818 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.839e-05/0.1443, allocations: 14.58 kB / 0.6818 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.624e-05/0.1443, allocations: 8.844 kB / 0.6818 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002055/0.1445, allocations: 85.19 kB / 0.6819 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.1446, allocations: 38.56 kB / 0.6819 GB, free: 14.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.1446, allocations: 0 / 0.6819 GB, free: 14.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001364/0.1447, allocations: 45.56 kB / 0.682 GB, free: 14.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.1447, allocations: 51.41 kB / 0.682 GB, free: 14.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.228e-05/0.1448, allocations: 89.86 kB / 0.6821 GB, free: 14.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.1448, allocations: 25.7 kB / 0.6821 GB, free: 14.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.058e-05/0.1448, allocations: 80.14 kB / 0.6822 GB, free: 14.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.1449, allocations: 416 / 0.6822 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.1449, allocations: 17.72 kB / 0.6822 GB, free: 14.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.145, allocations: 314.8 kB / 0.6825 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.095e-06/0.145, allocations: 0 / 0.6825 GB, free: 14.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.67e-06/0.145, allocations: 0 / 0.6825 GB, free: 14.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.953e-05/0.1451, allocations: 16.8 kB / 0.6825 GB, free: 14.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1451, allocations: 3.938 kB / 0.6825 GB, free: 14.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.865e-05/0.1451, allocations: 37.69 kB / 0.6826 GB, free: 14.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1452, allocations: 8.094 kB / 0.6826 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1452, allocations: 3.938 kB / 0.6826 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1452, allocations: 0 / 0.6826 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.465e-05/0.1452, allocations: 0 / 0.6826 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1452, allocations: 4 kB / 0.6826 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.17e-05/0.1452, allocations: 3.938 kB / 0.6826 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.1453, allocations: 0 / 0.6826 GB, free: 14.03 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.528e-05/0.1453, allocations: 107.2 kB / 0.6827 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.1453, allocations: 0 / 0.6827 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.048e-05/0.1454, allocations: 52.69 kB / 0.6827 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1454, allocations: 4 kB / 0.6827 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1454, allocations: 0 / 0.6827 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1455, allocations: 0 / 0.6827 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.244e-05/0.1455, allocations: 149.6 kB / 0.6829 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1455, allocations: 4 kB / 0.6829 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-05/0.1456, allocations: 0 / 0.6829 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1456, allocations: 4 kB / 0.6829 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.1456, allocations: 3.938 kB / 0.6829 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1456, allocations: 0 / 0.6829 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1456, allocations: 4.031 kB / 0.6829 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.016e-05/0.1457, allocations: 53.14 kB / 0.6829 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.1457, allocations: 85.09 kB / 0.683 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.1457, allocations: 7.875 kB / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-06/0.1457, allocations: 0 / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-06/0.1458, allocations: 0 / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.1458, allocations: 0 / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.974e-05/0.1458, allocations: 79.31 kB / 0.6831 GB, free: 13.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1458, allocations: 0 / 0.6831 GB, free: 13.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001983/0.146, allocations: 8 kB / 0.6831 GB, free: 13.38 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.0003956/0.1464, allocations: 0.6086 MB / 0.6837 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.648e-05/0.1465, allocations: 15.92 kB / 0.6837 GB, free: 12.72 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1465, allocations: 0 / 0.6837 GB, free: 12.72 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.784e-06/0.1465, allocations: 7.938 kB / 0.6837 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.1466, allocations: 4.688 kB / 0.6837 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.1469, allocations: 106.7 kB / 0.6838 GB, free: 12.56 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.1472, allocations: 0.6729 MB / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.115e-05/0.1472, allocations: 0 / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.1472, allocations: 15.56 kB / 0.6845 GB, free: 11.85 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1472, allocations: 0 / 0.6845 GB, free: 11.85 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.1634, allocations: 1.143 MB / 0.6856 GB, free: 10.83 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.28/7.443, allocations: 10.19 kB / 0.6856 GB, free: 10.82 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)