Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_9_Buildings_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.001105/0.001105, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001365/0.001366, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.399/2.399, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003629, allocations: 8 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8314/0.8318, allocations: 142.3 MB / 0.9538 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001463/0.8333, allocations: 1.142 MB / 0.955 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003755/0.8337, allocations: 146.6 kB / 0.9551 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.569e-05/0.8338, allocations: 0 / 0.9551 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.285e-05/0.8338, allocations: 0 / 0.9551 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.546e-05/0.8338, allocations: 5.406 kB / 0.9551 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.8341, allocations: 31.91 kB / 0.9551 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.165e-05/0.8342, allocations: 18.8 kB / 0.9552 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.779e-05/0.8343, allocations: 7.672 kB / 0.9552 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.854e-05/0.8343, allocations: 10.19 kB / 0.9552 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.71e-05/0.8343, allocations: 10.8 kB / 0.9552 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.8344, allocations: 1.312 kB / 0.9552 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.8345, allocations: 41 kB / 0.9552 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.818e-06/0.8345, allocations: 4 kB / 0.9552 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.8345, allocations: 31.77 kB / 0.9553 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.014e-05/0.8346, allocations: 26.88 kB / 0.9553 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.8346, allocations: 1.25 kB / 0.9553 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8346, allocations: 0 / 0.9553 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.8347, allocations: 0 / 0.9553 GB, free: 6.953 MB / 0.7169 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.0003524/0.835, allocations: 351.7 kB / 0.9556 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.8351, allocations: 8.625 kB / 0.9556 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.648e-05/0.8351, allocations: 35.47 kB / 0.9557 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.8351, allocations: 9.766 kB / 0.9557 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.771e-05/0.8352, allocations: 164.2 kB / 0.9558 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.8352, allocations: 5.031 kB / 0.9558 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.8353, allocations: 0.9062 kB / 0.9558 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.8354, allocations: 58.55 kB / 0.9559 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.8354, allocations: 3.938 kB / 0.9559 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.8355, allocations: 3.984 kB / 0.9559 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.8355, allocations: 1.25 kB / 0.9559 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.8356, allocations: 47.83 kB / 0.9559 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000256/0.8359, allocations: 248.9 kB / 0.9562 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.836, allocations: 39.78 kB / 0.9562 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.576e-05/0.8361, allocations: 28.03 kB / 0.9562 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.8362, allocations: 87.81 kB / 0.9563 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.8363, allocations: 39.67 kB / 0.9564 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.8363, allocations: 0 / 0.9564 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003289/0.8366, allocations: 102.8 kB / 0.9565 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.8366, allocations: 52.34 kB / 0.9565 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.991e-05/0.8367, allocations: 98.69 kB / 0.9566 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.8367, allocations: 27.08 kB / 0.9566 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.405e-05/0.8367, allocations: 88.14 kB / 0.9567 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/0.8368, allocations: 5.125 kB / 0.9567 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.8368, allocations: 0 / 0.9567 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.329e-05/0.8368, allocations: 316 kB / 0.957 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.569e-05/0.8369, allocations: 23.14 kB / 0.957 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.627e-05/0.837, allocations: 25.27 kB / 0.9571 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.206e-05/0.837, allocations: 21.8 kB / 0.9571 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.837, allocations: 1.5 kB / 0.9571 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000177/0.8372, allocations: 77.44 kB / 0.9572 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.8373, allocations: 4.844 kB / 0.9572 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.8373, allocations: 0 / 0.9572 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.8373, allocations: 5.266 kB / 0.9572 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.494e-05/0.8374, allocations: 12.73 kB / 0.9572 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.8374, allocations: 0 / 0.9572 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.8374, allocations: 13.7 kB / 0.9572 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.8374, allocations: 1 kB / 0.9572 GB, free: 5.012 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.118e-05/0.8375, allocations: 120 kB / 0.9573 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.8375, allocations: 1.188 kB / 0.9573 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.8377, allocations: 88.52 kB / 0.9574 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.8377, allocations: 0 / 0.9574 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8377, allocations: 3.953 kB / 0.9574 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.8378, allocations: 5.531 kB / 0.9574 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.8379, allocations: 157.4 kB / 0.9576 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.8379, allocations: 3.938 kB / 0.9576 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.292e-05/0.8379, allocations: 9.094 kB / 0.9576 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.8379, allocations: 0 / 0.9576 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.838, allocations: 8.016 kB / 0.9576 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.838, allocations: 1.469 kB / 0.9576 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.838, allocations: 0 / 0.9576 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.8382, allocations: 184.1 kB / 0.9578 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.8382, allocations: 78.2 kB / 0.9578 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.8382, allocations: 1.375 kB / 0.9578 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.754e-05/0.8383, allocations: 5.438 kB / 0.9578 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.8383, allocations: 6.172 kB / 0.9578 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.8384, allocations: 4 kB / 0.9579 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.205e-05/0.8384, allocations: 82.8 kB / 0.9579 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8384, allocations: 0 / 0.9579 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002309/0.8386, allocations: 10.12 kB / 0.9579 GB, free: 4.262 MB / 0.7169 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 (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.0004462/0.8391, allocations: 0.7227 MB / 0.9586 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.8393, allocations: 45.88 kB / 0.9587 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.8393, allocations: 5.219 kB / 0.9587 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.128e-05/0.8394, allocations: 27.25 kB / 0.9587 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.8397, allocations: 3.922 kB / 0.9587 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.84, allocations: 136 kB / 0.9589 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.8402, allocations: 0.6814 MB / 0.9595 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.597e-05/0.8402, allocations: 9.016 kB / 0.9595 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.8402, allocations: 12.53 kB / 0.9595 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8402, allocations: 0 / 0.9595 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01096/0.8512, allocations: 1.251 MB / 0.9608 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001428/0.8514, allocations: 194.7 kB / 0.9609 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/2.562, allocations: 0 / 0.9609 GB, free: 1.836 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat does not exist to compare? outputFormat=mat