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.001198/0.001198, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001251/0.001251, allocations: 195.6 kB / 16.14 MB, free: 6.707 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.229/1.229, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002311/0.002311, allocations: 279 kB / 290.2 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8497/0.8497, allocations: 169.2 MB / 0.4977 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 97.53 kB / 0.5946 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1271, allocations: 86.98 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001395/0.1285, allocations: 0.6311 MB / 0.6802 GB, free: 436 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002909/0.1288, allocations: 118.7 kB / 0.6803 GB, free: 320 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.973e-06/0.1288, allocations: 0 / 0.6803 GB, free: 320 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.315e-05/0.1289, allocations: 0 / 0.6803 GB, free: 320 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.727e-06/0.1289, allocations: 0 / 0.6803 GB, free: 320 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.1291, allocations: 19.98 kB / 0.6803 GB, free: 300 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 2.251e-05/0.1291, allocations: 4 kB / 0.6803 GB, free: 296 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.825e-05/0.1292, allocations: 0 / 0.6803 GB, free: 296 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.057e-06/0.1292, allocations: 0 / 0.6803 GB, free: 296 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.112e-05/0.1292, allocations: 0 / 0.6803 GB, free: 296 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.191e-06/0.1292, allocations: 0.7812 kB / 0.6803 GB, free: 296 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.1293, allocations: 43.89 kB / 0.6804 GB, free: 252 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.791e-06/0.1293, allocations: 4.594 kB / 0.6804 GB, free: 248 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.25e-05/0.1294, allocations: 4.875 kB / 0.6804 GB, free: 244 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.379e-05/0.1294, allocations: 39.88 kB / 0.6804 GB, free: 204 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1295, allocations: 3.938 kB / 0.6804 GB, free: 200 kB / 478.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1295, allocations: 0.5312 kB / 0.6804 GB, free: 200 kB / 478.1 MB Notification: Performance of Transformations before backend: time 2.706e-06/0.1295, allocations: 0.9375 kB / 0.6804 GB, free: 200 kB / 478.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.0002237/0.1297, allocations: 312.8 kB / 0.6807 GB, free: 15.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.1297, allocations: 12.03 kB / 0.6807 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.622e-05/0.1298, allocations: 30.75 kB / 0.6807 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.1298, allocations: 8.922 kB / 0.6808 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.601e-05/0.1299, allocations: 164.4 kB / 0.6809 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.742e-06/0.1299, allocations: 384 / 0.6809 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-06/0.1299, allocations: 384 / 0.6809 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.255e-05/0.13, allocations: 34.27 kB / 0.6809 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.13, allocations: 3.938 kB / 0.681 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.571e-06/0.13, allocations: 0 / 0.681 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.13, allocations: 3.938 kB / 0.681 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.264e-05/0.13, allocations: 0 / 0.681 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001006/0.1301, allocations: 153.7 kB / 0.6811 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.774e-05/0.1301, allocations: 14.58 kB / 0.6811 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.264e-05/0.1302, allocations: 8.953 kB / 0.6811 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/0.1303, allocations: 85.09 kB / 0.6812 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.1304, allocations: 34.56 kB / 0.6812 GB, free: 15.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 3.427e-06/0.1304, allocations: 0 / 0.6812 GB, free: 15.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001002/0.1305, allocations: 41.64 kB / 0.6813 GB, free: 15.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.1305, allocations: 55.41 kB / 0.6813 GB, free: 15.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.645e-05/0.1305, allocations: 89.86 kB / 0.6814 GB, free: 14.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.1305, allocations: 25.7 kB / 0.6814 GB, free: 14.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.076e-05/0.1306, allocations: 80.14 kB / 0.6815 GB, free: 14.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.1306, allocations: 4.281 kB / 0.6815 GB, free: 14.83 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.1306, allocations: 17.7 kB / 0.6815 GB, free: 14.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.36e-05/0.1307, allocations: 310.8 kB / 0.6818 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-06/0.1307, allocations: 0 / 0.6818 GB, free: 14.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.51e-06/0.1307, allocations: 8 kB / 0.6818 GB, free: 14.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.891e-05/0.1307, allocations: 8.797 kB / 0.6818 GB, free: 14.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1307, allocations: 0 / 0.6818 GB, free: 14.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.4e-05/0.1308, allocations: 37.7 kB / 0.6819 GB, free: 14.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.1308, allocations: 4 kB / 0.6819 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1308, allocations: 7.922 kB / 0.6819 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.1308, allocations: 0 / 0.6819 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.645e-05/0.1309, allocations: 4 kB / 0.6819 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.1309, allocations: 4.094 kB / 0.6819 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-06/0.1309, allocations: 3.938 kB / 0.6819 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-06/0.1309, allocations: 0 / 0.6819 GB, free: 14.41 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 4.592e-05/0.131, allocations: 107.2 kB / 0.682 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.131, allocations: 3.938 kB / 0.682 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.858e-05/0.131, allocations: 48.69 kB / 0.6821 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.1311, allocations: 0 / 0.6821 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1311, allocations: 4 kB / 0.6821 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-06/0.1311, allocations: 0 / 0.6821 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.594e-05/0.1311, allocations: 153.6 kB / 0.6822 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1311, allocations: 0 / 0.6822 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.146e-05/0.1312, allocations: 4 kB / 0.6822 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.1312, allocations: 0 / 0.6822 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-06/0.1312, allocations: 3.938 kB / 0.6822 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1312, allocations: 3.984 kB / 0.6822 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1312, allocations: 0 / 0.6822 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.081e-05/0.1312, allocations: 61.14 kB / 0.6823 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.731e-05/0.1313, allocations: 77.11 kB / 0.6824 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.476e-06/0.1313, allocations: 7.875 kB / 0.6824 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.202e-06/0.1313, allocations: 3.938 kB / 0.6824 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.053e-05/0.1313, allocations: 3.984 kB / 0.6824 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.1313, allocations: 0 / 0.6824 GB, free: 13.83 MB / 494.1 MB Notification: Performance of sorting global known variables: time 1.938e-05/0.1313, allocations: 75.28 kB / 0.6824 GB, free: 13.76 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1313, allocations: 0 / 0.6824 GB, free: 13.76 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001701/0.1315, allocations: 8 kB / 0.6824 GB, free: 13.75 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.0003139/0.1318, allocations: 0.6125 MB / 0.683 GB, free: 13.11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.481e-05/0.1319, allocations: 7.938 kB / 0.6831 GB, free: 13.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.1319, allocations: 0 / 0.6831 GB, free: 13.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.893e-06/0.1319, allocations: 8.094 kB / 0.6831 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001082/0.132, allocations: 0 / 0.6831 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002067/0.1322, allocations: 108.4 kB / 0.6832 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.1324, allocations: 0.6692 MB / 0.6838 GB, free: 12.25 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.253e-05/0.1324, allocations: 4 kB / 0.6838 GB, free: 12.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.256e-06/0.1324, allocations: 7.438 kB / 0.6838 GB, free: 12.24 MB / 494.1 MB Notification: Performance of SimCode: time 1.71e-07/0.1324, allocations: 0 / 0.6838 GB, free: 12.24 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.489/0.6215, allocations: 1.038 MB / 0.6848 GB, free: 11.36 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/0.6217, allocations: 237.5 kB / 0.6851 GB, free: 11.09 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.449/2.071, allocations: 2.375 kB / 0.6851 GB, free: 11.09 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)