Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_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.001293/0.001293, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001329/0.001329, allocations: 195.2 kB / 16.25 MB, free: 6.629 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.244/1.244, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.138/2.138, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5405/0.5417, allocations: 140.4 MB / 0.9492 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001506/0.5432, allocations: 0.6471 MB / 0.9499 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002603/0.5435, allocations: 102.7 kB / 0.95 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.355e-06/0.5435, allocations: 0 / 0.95 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.128e-05/0.5436, allocations: 0 / 0.95 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.919e-06/0.5436, allocations: 0 / 0.95 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.5438, allocations: 33.52 kB / 0.95 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 2.601e-05/0.5439, allocations: 1.219 kB / 0.95 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.984e-05/0.5439, allocations: 1.5 kB / 0.95 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.005e-05/0.5439, allocations: 0 / 0.95 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.474e-05/0.5439, allocations: 5.281 kB / 0.95 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.683e-06/0.5439, allocations: 4 kB / 0.95 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.5441, allocations: 42.39 kB / 0.9501 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.512e-06/0.5441, allocations: 0 / 0.9501 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.655e-05/0.5441, allocations: 1.188 kB / 0.9501 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.208e-05/0.5442, allocations: 31.19 kB / 0.9501 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.5442, allocations: 1.812 kB / 0.9501 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5442, allocations: 0 / 0.9501 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.5442, allocations: 0 / 0.9501 GB, free: 8.547 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001714/0.5444, allocations: 311.8 kB / 0.9504 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.5444, allocations: 9.094 kB / 0.9504 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.841e-05/0.5444, allocations: 35.94 kB / 0.9504 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.5445, allocations: 8.938 kB / 0.9504 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.347e-05/0.5445, allocations: 168.3 kB / 0.9506 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-06/0.5445, allocations: 5.562 kB / 0.9506 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.5445, allocations: 384 / 0.9506 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.084e-05/0.5446, allocations: 28.67 kB / 0.9506 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.5446, allocations: 3.938 kB / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-06/0.5446, allocations: 0 / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.5446, allocations: 1.719 kB / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.3e-05/0.5446, allocations: 0 / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.237e-05/0.5447, allocations: 155.1 kB / 0.9508 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.205e-05/0.5448, allocations: 23.89 kB / 0.9508 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.968e-06/0.5448, allocations: 6.203 kB / 0.9508 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.5449, allocations: 85.44 kB / 0.9509 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.048e-05/0.545, allocations: 32.25 kB / 0.9509 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.545, allocations: 0 / 0.9509 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001069/0.5451, allocations: 41.89 kB / 0.951 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.494e-05/0.5451, allocations: 51.41 kB / 0.951 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.368e-05/0.5451, allocations: 91.52 kB / 0.9511 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.358e-06/0.5451, allocations: 29.64 kB / 0.9511 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.708e-06/0.5451, allocations: 80.14 kB / 0.9512 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.5452, allocations: 3.906 kB / 0.9512 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/0.5452, allocations: 16.36 kB / 0.9512 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.147e-05/0.5452, allocations: 311 kB / 0.9515 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-06/0.5452, allocations: 5.375 kB / 0.9515 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-06/0.5452, allocations: 1.281 kB / 0.9515 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.838e-05/0.5453, allocations: 11.58 kB / 0.9515 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5453, allocations: 0 / 0.9515 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.668e-05/0.5453, allocations: 31.2 kB / 0.9516 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.5453, allocations: 5.5 kB / 0.9516 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.5453, allocations: 3.938 kB / 0.9516 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.5454, allocations: 7.969 kB / 0.9516 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.87e-05/0.5454, allocations: 9.312 kB / 0.9516 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.5454, allocations: 5.359 kB / 0.9516 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.925e-06/0.5454, allocations: 0 / 0.9516 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-06/0.5454, allocations: 0 / 0.9516 GB, free: 6.801 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 (1): * Single equations (assignments): 1 * 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 3.133e-05/0.5455, allocations: 107.2 kB / 0.9517 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.5455, allocations: 1.375 kB / 0.9517 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.5455, allocations: 44.88 kB / 0.9518 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.5455, allocations: 3.938 kB / 0.9518 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.5456, allocations: 5.406 kB / 0.9518 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.5456, allocations: 0 / 0.9518 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.664e-05/0.5456, allocations: 143.1 kB / 0.9519 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.5456, allocations: 0 / 0.9519 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.087e-05/0.5456, allocations: 1.375 kB / 0.9519 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5456, allocations: 1.375 kB / 0.9519 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-06/0.5456, allocations: 3.938 kB / 0.9519 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.5456, allocations: 3.984 kB / 0.9519 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5456, allocations: 5.312 kB / 0.9519 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.95e-05/0.5457, allocations: 62.64 kB / 0.952 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.5457, allocations: 77.11 kB / 0.952 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.875e-06/0.5457, allocations: 5.312 kB / 0.952 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.242e-06/0.5457, allocations: 3.938 kB / 0.9521 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.5458, allocations: 5.359 kB / 0.9521 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.5458, allocations: 0 / 0.9521 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.228e-06/0.5458, allocations: 75.28 kB / 0.9521 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.5458, allocations: 0 / 0.9521 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001785/0.546, allocations: 12.25 kB / 0.9521 GB, free: 6.176 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 (1): * Single equations (assignments): 1 * 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.0002355/0.5462, allocations: 0.6103 MB / 0.9527 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.17e-05/0.5463, allocations: 4.125 kB / 0.9527 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5463, allocations: 4.094 kB / 0.9527 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.412e-06/0.5463, allocations: 6.75 kB / 0.9528 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.5464, allocations: 2.922 kB / 0.9528 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002011/0.5466, allocations: 101.6 kB / 0.9529 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.762e-05/0.5467, allocations: 0.6779 MB / 0.9535 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.067e-06/0.5467, allocations: 5.312 kB / 0.9535 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.072e-05/0.5467, allocations: 7.438 kB / 0.9535 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5467, allocations: 0 / 0.9535 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01015/0.5569, allocations: 1.039 MB / 0.9545 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/0.557, allocations: 215.3 kB / 0.9547 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.458/2.015, allocations: 4 kB / 0.9547 GB, free: 3.938 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat does not exist to compare? outputFormat=mat