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: "" <> 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/BuildingSystems 2.0.0-master/package.mo): time 0.8957/0.8957, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 180.9 kB / 182.2 MB, free: 9.426 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.679/1.679, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.001052/0.001052, allocations: 80.11 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002069/0.002069, allocations: 277 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.857e-05/2.857e-05, allocations: 8 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6107/0.6107, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1952/0.8061, allocations: 108.1 MB / 0.863 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003724/0.8066, allocations: 71.95 kB / 0.8631 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004019/0.8106, allocations: 1.049 MB / 0.8641 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.334e-06/0.8106, allocations: 0 / 0.8641 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.8107, allocations: 0 / 0.8641 GB, free: 2.551 MB / 0.5261 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.0005325/0.8112, allocations: 346.5 kB / 0.8645 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.593e-05/0.8113, allocations: 8.031 kB / 0.8645 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.35e-05/0.8114, allocations: 0 / 0.8645 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.8116, allocations: 167 kB / 0.8646 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.8116, allocations: 3.953 kB / 0.8646 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.8117, allocations: 3.984 kB / 0.8646 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001069/0.8118, allocations: 15.94 kB / 0.8646 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.994e-05/0.8119, allocations: 41.69 kB / 0.8647 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.8119, allocations: 0 / 0.8647 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.8119, allocations: 0 / 0.8647 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.8119, allocations: 0 / 0.8647 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005464/0.8125, allocations: 249.5 kB / 0.8649 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.029e-05/0.8126, allocations: 22.58 kB / 0.8649 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.362e-05/0.8126, allocations: 16.86 kB / 0.865 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/0.8129, allocations: 85.09 kB / 0.865 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.8129, allocations: 34.56 kB / 0.8651 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.8129, allocations: 0 / 0.8651 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002369/0.8132, allocations: 37.7 kB / 0.8651 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.8132, allocations: 51.44 kB / 0.8652 GB, free: 1.305 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.8134, allocations: 97 kB / 0.8652 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.8134, allocations: 29.69 kB / 0.8653 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.8135, allocations: 80.14 kB / 0.8654 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.8135, allocations: 11.84 kB / 0.8654 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.8135, allocations: 0 / 0.8654 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002136/0.8137, allocations: 314.8 kB / 0.8657 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.8138, allocations: 4 kB / 0.8657 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.424e-05/0.8138, allocations: 0 / 0.8657 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.428e-05/0.8139, allocations: 19.94 kB / 0.8657 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.8139, allocations: 0 / 0.8657 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001169/0.814, allocations: 49.64 kB / 0.8657 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.814, allocations: 4 kB / 0.8657 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.814, allocations: 0 / 0.8657 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.8141, allocations: 0 / 0.8657 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.8142, allocations: 11.98 kB / 0.8657 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.8142, allocations: 0 / 0.8657 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.712e-05/0.8142, allocations: 12.03 kB / 0.8658 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.8143, allocations: 0 / 0.8658 GB, free: 0.6523 MB / 0.5261 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 0.0001305/0.8144, allocations: 101 kB / 0.8659 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001314/0.8145, allocations: 57.48 kB / 0.8659 GB, free: 496 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.8146, allocations: 3.938 kB / 0.8659 GB, free: 492 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.8147, allocations: 45.44 kB / 0.866 GB, free: 440 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.8147, allocations: 0 / 0.866 GB, free: 440 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.8147, allocations: 4.062 kB / 0.866 GB, free: 436 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.8148, allocations: 4 kB / 0.866 GB, free: 432 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.815, allocations: 134.2 kB / 0.8661 GB, free: 260 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.815, allocations: 3.953 kB / 0.8661 GB, free: 256 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.47e-05/0.8151, allocations: 11.98 kB / 0.8661 GB, free: 244 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.8151, allocations: 0 / 0.8661 GB, free: 244 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.8151, allocations: 0 / 0.8661 GB, free: 244 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.8151, allocations: 0 / 0.8661 GB, free: 244 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8151, allocations: 0 / 0.8661 GB, free: 244 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.8153, allocations: 143.5 kB / 0.8662 GB, free: 84 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.8154, allocations: 81.06 kB / 0.8663 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.8154, allocations: 0 / 0.8663 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.403e-05/0.8155, allocations: 11.98 kB / 0.8663 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.8156, allocations: 0 / 0.8663 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.8156, allocations: 0 / 0.8663 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.233e-05/0.8157, allocations: 91.44 kB / 0.8664 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8157, allocations: 4.031 kB / 0.8664 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002269/0.8159, allocations: 16 kB / 0.8664 GB, free: 15.86 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.0008237/0.8167, allocations: 0.6928 MB / 0.8671 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.8168, allocations: 23.88 kB / 0.8671 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8169, allocations: 0 / 0.8671 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.457e-05/0.8169, allocations: 8 kB / 0.8671 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.8171, allocations: 6.641 kB / 0.8672 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.8176, allocations: 93.59 kB / 0.8672 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/0.8182, allocations: 0.6807 MB / 0.8679 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.556e-05/0.8182, allocations: 4.125 kB / 0.8679 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/0.8182, allocations: 7.438 kB / 0.8679 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.8182, allocations: 0 / 0.8679 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.8457, allocations: 0.927 MB / 0.8688 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003923/0.8463, allocations: 156.8 kB / 0.869 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.696, allocations: 0 / 0.869 GB, free: 13.16 MB / 0.5417 GB (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/linux/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)