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) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005146/0.005146, allocations: 106.3 kB / 15.74 MB, free: 6.008 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.001153/0.001153, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.233/1.233, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002/0.002, allocations: 305.8 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8838/0.8838, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 87.86 kB / 0.681 GB, free: 7.504 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4024, allocations: 86.98 MB / 0.7659 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002627/0.405, allocations: 1.43 MB / 0.7673 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004371/0.4055, allocations: 168.3 kB / 0.7675 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.782e-05/0.4055, allocations: 0 / 0.7675 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.4056, allocations: 0 / 0.7675 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.884e-05/0.4056, allocations: 3.938 kB / 0.7675 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.4059, allocations: 31.91 kB / 0.7675 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.035e-05/0.406, allocations: 27.92 kB / 0.7675 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.719e-05/0.4061, allocations: 7.984 kB / 0.7675 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.345e-05/0.4061, allocations: 4 kB / 0.7675 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.988e-05/0.4062, allocations: 15.92 kB / 0.7676 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.4062, allocations: 0 / 0.7676 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.4063, allocations: 35.97 kB / 0.7676 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.4063, allocations: 7.938 kB / 0.7676 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.4063, allocations: 15.92 kB / 0.7676 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.4065, allocations: 50.62 kB / 0.7677 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4065, allocations: 0 / 0.7677 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4065, allocations: 4 kB / 0.7677 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.4065, allocations: 0 / 0.7677 GB, free: 2.102 MB / 0.5294 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.0003892/0.4069, allocations: 343.5 kB / 0.768 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.4069, allocations: 8.031 kB / 0.768 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.112e-05/0.407, allocations: 38.73 kB / 0.768 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.407, allocations: 4.938 kB / 0.768 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.667e-05/0.4071, allocations: 164.3 kB / 0.7682 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.4071, allocations: 384 / 0.7682 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.4072, allocations: 4.375 kB / 0.7682 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.4073, allocations: 54.17 kB / 0.7683 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.4073, allocations: 3.938 kB / 0.7683 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.4073, allocations: 0 / 0.7683 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4074, allocations: 4 kB / 0.7683 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.4075, allocations: 31.95 kB / 0.7683 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.4078, allocations: 252.9 kB / 0.7685 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.408, allocations: 38.5 kB / 0.7686 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.052e-05/0.4081, allocations: 32.83 kB / 0.7686 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/0.4082, allocations: 81.11 kB / 0.7687 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.4083, allocations: 34.55 kB / 0.7687 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4083, allocations: 4 kB / 0.7687 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003496/0.4086, allocations: 77.66 kB / 0.7688 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.4087, allocations: 59.33 kB / 0.7688 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.18e-05/0.4087, allocations: 93.86 kB / 0.7689 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.4088, allocations: 29.7 kB / 0.769 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.4088, allocations: 88.12 kB / 0.769 GB, free: 464 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.4088, allocations: 8.031 kB / 0.7691 GB, free: 456 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.4089, allocations: 13.7 kB / 0.7691 GB, free: 436 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.409, allocations: 318.8 kB / 0.7694 GB, free: 108 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.547e-05/0.4091, allocations: 15.92 kB / 0.7694 GB, free: 92 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.935e-05/0.4091, allocations: 15.98 kB / 0.7694 GB, free: 76 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.4093, allocations: 44.88 kB / 0.7694 GB, free: 28 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4093, allocations: 3.938 kB / 0.7695 GB, free: 24 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001982/0.4095, allocations: 61.67 kB / 0.7695 GB, free: 15.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.4095, allocations: 7.984 kB / 0.7695 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.4095, allocations: 0 / 0.7695 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.4095, allocations: 0 / 0.7695 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.131e-05/0.4096, allocations: 8 kB / 0.7695 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.4096, allocations: 0 / 0.7695 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.4097, allocations: 12.02 kB / 0.7695 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.4097, allocations: 3.938 kB / 0.7695 GB, free: 15.93 MB / 0.545 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 6.328e-05/0.4098, allocations: 120.1 kB / 0.7697 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.4098, allocations: 4 kB / 0.7697 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.41, allocations: 68.77 kB / 0.7697 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.41, allocations: 192 / 0.7697 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.41, allocations: 4.031 kB / 0.7697 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.41, allocations: 7.984 kB / 0.7697 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.4102, allocations: 157.6 kB / 0.7699 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4102, allocations: 0 / 0.7699 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.208e-05/0.4102, allocations: 7.984 kB / 0.7699 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.4103, allocations: 0 / 0.7699 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.4103, allocations: 4 kB / 0.7699 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4103, allocations: 4 kB / 0.7699 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4103, allocations: 0 / 0.7699 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.4105, allocations: 171.3 kB / 0.7701 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-05/0.4105, allocations: 77.11 kB / 0.7701 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.4106, allocations: 0 / 0.7701 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.4106, allocations: 7.984 kB / 0.7701 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.4107, allocations: 7.938 kB / 0.7702 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.4107, allocations: 4 kB / 0.7702 GB, free: 15.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.591e-05/0.4107, allocations: 87.3 kB / 0.7702 GB, free: 15.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4107, allocations: 0 / 0.7702 GB, free: 15.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002258/0.411, allocations: 12 kB / 0.7703 GB, free: 15.1 MB / 0.545 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.0005229/0.4115, allocations: 0.7085 MB / 0.7709 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001934/0.4117, allocations: 35.95 kB / 0.771 GB, free: 14.33 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.4117, allocations: 0 / 0.771 GB, free: 14.33 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.803e-05/0.4118, allocations: 19.98 kB / 0.771 GB, free: 14.31 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.4121, allocations: 8.125 kB / 0.771 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004176/0.4125, allocations: 147.1 kB / 0.7711 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.4127, allocations: 0.6729 MB / 0.7718 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.299e-05/0.4128, allocations: 0 / 0.7718 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.4128, allocations: 19.42 kB / 0.7718 GB, free: 13.39 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4128, allocations: 0 / 0.7718 GB, free: 13.39 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.4296, allocations: 1.521 MB / 0.7733 GB, free: 11.99 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.168/7.598, allocations: 6.625 kB / 0.7733 GB, free: 11.99 MB / 0.545 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/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)