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.001178/0.001178, allocations: 108 kB / 15.6 MB, free: 132 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.001202/0.001202, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002256/0.002256, allocations: 290.5 kB / 290.7 MB, free: 2.027 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9196/0.9196, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 104 kB / 0.5953 GB, free: 27.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1374, allocations: 86.98 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002673/0.1401, allocations: 1.422 MB / 0.6817 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000404/0.1405, allocations: 157.5 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.077e-05/0.1405, allocations: 5.469 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.1406, allocations: 3.938 kB / 0.6818 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.03e-05/0.1406, allocations: 3.938 kB / 0.6818 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.1409, allocations: 39.08 kB / 0.6819 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.989e-05/0.141, allocations: 27.92 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.663e-05/0.1411, allocations: 0 / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.861e-05/0.1412, allocations: 11.94 kB / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.624e-05/0.1412, allocations: 11.98 kB / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.1412, allocations: 0 / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.1414, allocations: 39.95 kB / 0.682 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.1414, allocations: 7.875 kB / 0.682 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.1414, allocations: 16.7 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.1415, allocations: 44.22 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1415, allocations: 0.6875 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1416, allocations: 0 / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1416, allocations: 0.875 kB / 0.682 GB, free: 14.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004076/0.142, allocations: 344.3 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.142, allocations: 9.25 kB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.988e-05/0.1421, allocations: 30.75 kB / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.1421, allocations: 4.844 kB / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.1422, allocations: 172.4 kB / 0.6826 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1422, allocations: 4.375 kB / 0.6826 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.1422, allocations: 4.312 kB / 0.6826 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.1424, allocations: 50.23 kB / 0.6826 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1424, allocations: 7.875 kB / 0.6826 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.1424, allocations: 0 / 0.6826 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1424, allocations: 0 / 0.6826 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.1426, allocations: 31.97 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.1429, allocations: 249 kB / 0.6829 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.143, allocations: 38.5 kB / 0.6829 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.88e-05/0.1431, allocations: 20.91 kB / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/0.1433, allocations: 89.09 kB / 0.683 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.1433, allocations: 38.5 kB / 0.6831 GB, free: 13.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1433, allocations: 0 / 0.6831 GB, free: 13.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003678/0.1437, allocations: 85.55 kB / 0.6832 GB, free: 13.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.1437, allocations: 51.41 kB / 0.6832 GB, free: 13.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.354e-05/0.1438, allocations: 97.84 kB / 0.6833 GB, free: 13.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.1438, allocations: 29.83 kB / 0.6833 GB, free: 13.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.1439, allocations: 84.14 kB / 0.6834 GB, free: 13.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.1439, allocations: 11.84 kB / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.1439, allocations: 9.719 kB / 0.6834 GB, free: 13.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.902e-05/0.144, allocations: 322.8 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.701e-05/0.1441, allocations: 11.98 kB / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.242e-05/0.1442, allocations: 23.86 kB / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.1444, allocations: 44.88 kB / 0.6838 GB, free: 12.74 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1444, allocations: 3.938 kB / 0.6838 GB, free: 12.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002019/0.1446, allocations: 61.86 kB / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1446, allocations: 4 kB / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1446, allocations: 0 / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1446, allocations: 3.984 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-05/0.1447, allocations: 16.02 kB / 0.6839 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1447, allocations: 0 / 0.6839 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.586e-05/0.1448, allocations: 7.984 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.1448, allocations: 0 / 0.6839 GB, free: 12.64 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 7.586e-05/0.1449, allocations: 119 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.1449, allocations: 4 kB / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.1451, allocations: 68.78 kB / 0.6841 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1451, allocations: 0 / 0.6841 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1451, allocations: 3.938 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1452, allocations: 3.984 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.1453, allocations: 161.6 kB / 0.6843 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1453, allocations: 4 kB / 0.6843 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.558e-05/0.1454, allocations: 7.984 kB / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1454, allocations: 0 / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.1454, allocations: 0 / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1454, allocations: 0 / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1454, allocations: 8.031 kB / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.1456, allocations: 163.4 kB / 0.6844 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.1457, allocations: 85.02 kB / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.1457, allocations: 0 / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.218e-05/0.1458, allocations: 7.984 kB / 0.6845 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.1458, allocations: 4.031 kB / 0.6845 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.1458, allocations: 0 / 0.6845 GB, free: 11.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.307e-05/0.1459, allocations: 83.28 kB / 0.6846 GB, free: 11.83 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1459, allocations: 0 / 0.6846 GB, free: 11.83 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.1461, allocations: 15.98 kB / 0.6846 GB, free: 11.82 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.0005415/0.1467, allocations: 0.7046 MB / 0.6853 GB, free: 11.08 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.1469, allocations: 39.95 kB / 0.6853 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1469, allocations: 0 / 0.6853 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.637e-05/0.147, allocations: 24.08 kB / 0.6854 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.1472, allocations: 4 kB / 0.6854 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.1476, allocations: 144.7 kB / 0.6855 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.1479, allocations: 0.6767 MB / 0.6862 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.001e-05/0.1479, allocations: 0 / 0.6862 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.148, allocations: 11.44 kB / 0.6862 GB, free: 10.12 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.148, allocations: 8.062 kB / 0.6862 GB, free: 10.11 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1665/0.3145, allocations: 1.49 MB / 0.6876 GB, free: 8.719 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.319/7.633, allocations: 7.562 kB / 0.6876 GB, free: 8.719 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)