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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7783/0.7783, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000962/0.000962, allocations: 182.3 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 221.3 MB / 441.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009033/0.0009034, allocations: 92.89 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001768/0.001768, allocations: 270 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.681e-05/4.683e-05, allocations: 8 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.3989, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1166/0.5156, allocations: 108.8 MB / 0.8705 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.5159, allocations: 75.83 kB / 0.8706 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.002955/0.5188, allocations: 1.06 MB / 0.8716 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5188, allocations: 3.938 kB / 0.8716 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.5189, allocations: 0 / 0.8716 GB, free: 14.66 MB / 0.5417 GB 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.0003022/0.5192, allocations: 343.6 kB / 0.8719 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.5192, allocations: 12.03 kB / 0.8719 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.5193, allocations: 0 / 0.8719 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.5194, allocations: 163.1 kB / 0.8721 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.5194, allocations: 7.953 kB / 0.8721 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.5194, allocations: 0 / 0.8721 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.5196, allocations: 37.69 kB / 0.8721 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.5196, allocations: 0 / 0.8721 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.5196, allocations: 0 / 0.8721 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.5196, allocations: 4 kB / 0.8721 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.03e-05/0.5196, allocations: 8 kB / 0.8721 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.52, allocations: 276.8 kB / 0.8724 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.211e-05/0.5201, allocations: 26.58 kB / 0.8724 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.5201, allocations: 12.92 kB / 0.8724 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.5203, allocations: 85.09 kB / 0.8725 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.5203, allocations: 34.56 kB / 0.8726 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 2.995e-06/0.5203, allocations: 3.984 kB / 0.8726 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.00015/0.5205, allocations: 45.64 kB / 0.8726 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.5205, allocations: 51.41 kB / 0.8727 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.236e-05/0.5206, allocations: 93 kB / 0.8727 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.5206, allocations: 29.69 kB / 0.8728 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.5207, allocations: 80.14 kB / 0.8728 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.5207, allocations: 11.84 kB / 0.8729 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-06/0.5207, allocations: 0 / 0.8729 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.5208, allocations: 318.9 kB / 0.8732 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.5208, allocations: 4 kB / 0.8732 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.252e-05/0.5208, allocations: 7.938 kB / 0.8732 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.706e-05/0.5209, allocations: 7.953 kB / 0.8732 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.5209, allocations: 0 / 0.8732 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.675e-05/0.521, allocations: 49.62 kB / 0.8732 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.521, allocations: 4 kB / 0.8732 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.521, allocations: 0 / 0.8732 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.521, allocations: 4.094 kB / 0.8732 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.724e-05/0.5211, allocations: 15.98 kB / 0.8732 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.5211, allocations: 0 / 0.8732 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.5212, allocations: 4 kB / 0.8733 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.5212, allocations: 0 / 0.8733 GB, free: 12.73 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.955e-05/0.5212, allocations: 108.9 kB / 0.8734 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.5213, allocations: 3.984 kB / 0.8734 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.621e-05/0.5214, allocations: 52.81 kB / 0.8734 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.5214, allocations: 3.938 kB / 0.8734 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5214, allocations: 4 kB / 0.8734 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5214, allocations: 0 / 0.8734 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.5216, allocations: 161.5 kB / 0.8736 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5216, allocations: 3.953 kB / 0.8736 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.215e-05/0.5216, allocations: 11.98 kB / 0.8736 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5216, allocations: 0 / 0.8736 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.5217, allocations: 4.031 kB / 0.8736 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5217, allocations: 4 kB / 0.8736 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5217, allocations: 0 / 0.8736 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.5218, allocations: 135.5 kB / 0.8737 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.366e-05/0.5218, allocations: 81.06 kB / 0.8738 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.5218, allocations: 4 kB / 0.8738 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.162e-05/0.5219, allocations: 16.02 kB / 0.8738 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.522, allocations: 4 kB / 0.8738 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.522, allocations: 0 / 0.8738 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.968e-05/0.522, allocations: 79.28 kB / 0.8739 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.522, allocations: 0 / 0.8739 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002067/0.5222, allocations: 16 kB / 0.8739 GB, free: 11.95 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001878/0.5224, allocations: 127.1 kB / 0.874 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.981e-05/0.5225, allocations: 15.94 kB / 0.8741 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5225, allocations: 4 kB / 0.8741 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.245e-05/0.5225, allocations: 8 kB / 0.8741 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.5227, allocations: 3.984 kB / 0.8741 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001631/0.5229, allocations: 57.25 kB / 0.8741 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.5231, allocations: 0.677 MB / 0.8748 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.45e-05/0.5231, allocations: 12.05 kB / 0.8748 GB, free: 11 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.93e-05/0.5231, allocations: 7.438 kB / 0.8748 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.5231, allocations: 4 kB / 0.8748 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of Templates: time 0.002368/0.5255, allocations: 0.5591 MB / 0.8754 GB, free: 10.43 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1)