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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 101.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002417/0.002417, allocations: 284.3 kB / 303 MB, free: 3.555 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.05/1.05, allocations: 180.9 MB / 0.5261 GB, free: 2.785 MB / 382.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002765/0.002765, allocations: 99.84 kB / 0.7248 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5691/0.5719, allocations: 94.16 MB / 0.8167 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002353/0.5742, allocations: 1.452 MB / 0.8181 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003941/0.5746, allocations: 165.2 kB / 0.8183 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.567e-05/0.5746, allocations: 1.25 kB / 0.8183 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.104e-05/0.5747, allocations: 3.938 kB / 0.8183 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.719e-05/0.5747, allocations: 0 / 0.8183 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.575, allocations: 44.05 kB / 0.8183 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.031e-05/0.5751, allocations: 20.03 kB / 0.8184 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.574e-05/0.5752, allocations: 6.938 kB / 0.8184 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.595e-05/0.5752, allocations: 11.09 kB / 0.8184 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.406e-05/0.5752, allocations: 14.25 kB / 0.8184 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.5752, allocations: 1.875 kB / 0.8184 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.5754, allocations: 40.23 kB / 0.8184 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.5754, allocations: 1.281 kB / 0.8184 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.5754, allocations: 12.14 kB / 0.8184 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.5755, allocations: 53.56 kB / 0.8185 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5755, allocations: 0 / 0.8185 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5755, allocations: 0.9688 kB / 0.8185 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.5755, allocations: 0 / 0.8185 GB, free: 5.957 MB / 0.5762 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.0003896/0.5759, allocations: 350.4 kB / 0.8188 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.576, allocations: 10.09 kB / 0.8188 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.793e-05/0.576, allocations: 30.75 kB / 0.8189 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.576, allocations: 2.938 kB / 0.8189 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.689e-05/0.5761, allocations: 165.3 kB / 0.819 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.5761, allocations: 1.312 kB / 0.819 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.5761, allocations: 5.656 kB / 0.819 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.5763, allocations: 47.36 kB / 0.8191 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.5763, allocations: 11.88 kB / 0.8191 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.5763, allocations: 4.969 kB / 0.8191 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.5763, allocations: 1 kB / 0.8191 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.5765, allocations: 32.06 kB / 0.8191 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002405/0.5767, allocations: 242.8 kB / 0.8194 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.5768, allocations: 42.17 kB / 0.8194 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.821e-05/0.5769, allocations: 21.06 kB / 0.8194 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.5771, allocations: 88.66 kB / 0.8195 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.5771, allocations: 39.41 kB / 0.8195 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5771, allocations: 0 / 0.8195 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003344/0.5774, allocations: 78.02 kB / 0.8196 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.5774, allocations: 59.2 kB / 0.8197 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.181e-05/0.5775, allocations: 99.05 kB / 0.8198 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.5775, allocations: 26.67 kB / 0.8198 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.846e-05/0.5775, allocations: 85.81 kB / 0.8199 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.5776, allocations: 4.641 kB / 0.8199 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.5776, allocations: 15.06 kB / 0.8199 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.658e-05/0.5776, allocations: 316.1 kB / 0.8202 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.983e-05/0.5777, allocations: 20.2 kB / 0.8202 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-05/0.5778, allocations: 16.02 kB / 0.8202 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.5779, allocations: 40.97 kB / 0.8203 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5779, allocations: 4.844 kB / 0.8203 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001758/0.5781, allocations: 65.98 kB / 0.8203 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.5781, allocations: 5.438 kB / 0.8203 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.5781, allocations: 3.141 kB / 0.8203 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.5781, allocations: 1.094 kB / 0.8204 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.537e-05/0.5782, allocations: 8.406 kB / 0.8204 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.5782, allocations: 1.125 kB / 0.8204 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.275e-05/0.5782, allocations: 7.094 kB / 0.8204 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.5782, allocations: 0.8125 kB / 0.8204 GB, free: 4.109 MB / 0.5762 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 () * 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 4.452e-05/0.5783, allocations: 122.5 kB / 0.8205 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.5783, allocations: 9.531 kB / 0.8205 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.5785, allocations: 71.08 kB / 0.8206 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.5785, allocations: 0.9688 kB / 0.8206 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5785, allocations: 1.5 kB / 0.8206 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.5785, allocations: 0 / 0.8206 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.5786, allocations: 160.6 kB / 0.8207 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5786, allocations: 8.031 kB / 0.8207 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.236e-05/0.5787, allocations: 9.812 kB / 0.8207 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.5787, allocations: 0 / 0.8207 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.5787, allocations: 1.438 kB / 0.8207 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5787, allocations: 0 / 0.8207 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5787, allocations: 0 / 0.8207 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.5789, allocations: 168.3 kB / 0.8209 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.579, allocations: 78.78 kB / 0.821 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.579, allocations: 1.922 kB / 0.821 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.579, allocations: 6.859 kB / 0.821 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.5791, allocations: 4.969 kB / 0.821 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.5791, allocations: 1.062 kB / 0.821 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.324e-05/0.5791, allocations: 89.64 kB / 0.8211 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5791, allocations: 0 / 0.8211 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002267/0.5793, allocations: 9.906 kB / 0.8211 GB, free: 3.406 MB / 0.5762 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 () * 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.0004197/0.5797, allocations: 0.7231 MB / 0.8218 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001946/0.5799, allocations: 35.22 kB / 0.8218 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5799, allocations: 0 / 0.8218 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.747e-05/0.58, allocations: 21.27 kB / 0.8218 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.5803, allocations: 2.531 kB / 0.8218 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.5806, allocations: 138.4 kB / 0.822 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.5809, allocations: 0.6731 MB / 0.8226 GB, free: 17.87 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.424e-05/0.5809, allocations: 8.672 kB / 0.8226 GB, free: 17.86 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.5809, allocations: 12.66 kB / 0.8227 GB, free: 17.85 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.5809, allocations: 0 / 0.8227 GB, free: 17.85 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.6049, allocations: 1.536 MB / 0.8242 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.523, allocations: 5.438 kB / 0.8242 GB, free: 17.46 MB / 0.5919 GB " [Timeout remaining time 651] (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 --stepSize=0.001196 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.383060428779572] Failed to read output from testmodel.py, exit status != 0: 8.591334620025009 8.615419823 8.034442308 Calling exit ...