Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00082/0.00082, allocations: 109.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 215.5 kB / 22.25 MB, free: 3.582 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9947/0.9947, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7853/0.7853, allocations: 203.5 MB / 0.5039 GB, free: 10.73 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 68.33 kB / 0.7178 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5385/0.5396, allocations: 102 MB / 0.8174 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001522/0.5411, allocations: 0.6854 MB / 0.8181 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007417/0.5418, allocations: 0.8235 MB / 0.8189 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.933e-05/0.5419, allocations: 0 / 0.8189 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.316e-05/0.5419, allocations: 7.609 kB / 0.8189 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.947e-05/0.542, allocations: 8.672 kB / 0.8189 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.908e-05/0.542, allocations: 15.45 kB / 0.8189 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.626e-05/0.5421, allocations: 45.36 kB / 0.819 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.5422, allocations: 8.328 kB / 0.819 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.801e-05/0.5423, allocations: 13.61 kB / 0.819 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.685e-05/0.5424, allocations: 22.44 kB / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.5424, allocations: 3.688 kB / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-06/0.5424, allocations: 2.844 kB / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.5424, allocations: 13.19 kB / 0.819 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.5424, allocations: 12.33 kB / 0.819 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.5426, allocations: 47.36 kB / 0.8191 GB, free: 108 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5426, allocations: 1.156 kB / 0.8191 GB, free: 108 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5426, allocations: 0 / 0.8191 GB, free: 108 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.5426, allocations: 4 kB / 0.8191 GB, free: 104 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004594/0.543, allocations: 286.4 kB / 0.8194 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.5431, allocations: 11.03 kB / 0.8194 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.5431, allocations: 42.91 kB / 0.8194 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.5431, allocations: 8.891 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.907e-05/0.5432, allocations: 106.1 kB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.5433, allocations: 2.5 kB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.5433, allocations: 1.562 kB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.5435, allocations: 74.23 kB / 0.8196 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.5435, allocations: 7.875 kB / 0.8196 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.5435, allocations: 0 / 0.8196 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5435, allocations: 0 / 0.8196 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.5436, allocations: 63.81 kB / 0.8197 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.544, allocations: 230.4 kB / 0.8199 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.5441, allocations: 58.81 kB / 0.8199 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.764e-05/0.5442, allocations: 44.45 kB / 0.82 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.5442, allocations: 0 / 0.82 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.5443, allocations: 39.38 kB / 0.82 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.5443, allocations: 3.938 kB / 0.82 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003376/0.5446, allocations: 130 kB / 0.8202 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.5446, allocations: 51.97 kB / 0.8202 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.848e-05/0.5447, allocations: 108.9 kB / 0.8203 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.5447, allocations: 25.7 kB / 0.8203 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/0.5448, allocations: 91.48 kB / 0.8204 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.5448, allocations: 9.859 kB / 0.8204 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.5448, allocations: 18.78 kB / 0.8204 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.599e-05/0.5449, allocations: 316.8 kB / 0.8208 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.409e-05/0.545, allocations: 33.86 kB / 0.8208 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.369e-05/0.5451, allocations: 33.02 kB / 0.8208 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.5452, allocations: 69.64 kB / 0.8209 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5452, allocations: 4 kB / 0.8209 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001727/0.5454, allocations: 93.98 kB / 0.821 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.5454, allocations: 7.062 kB / 0.821 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.5454, allocations: 0.6094 kB / 0.821 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.5454, allocations: 0 / 0.821 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.659e-05/0.5455, allocations: 14.02 kB / 0.821 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.5455, allocations: 2.062 kB / 0.821 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.966e-05/0.5455, allocations: 18.86 kB / 0.821 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.5456, allocations: 3.156 kB / 0.821 GB, free: 14.48 MB / 0.6198 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 (3): * Single equations (assignments): 3 * 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.091e-05/0.5456, allocations: 120.1 kB / 0.8211 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.5456, allocations: 5.422 kB / 0.8211 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.5457, allocations: 11.42 kB / 0.8211 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.5457, allocations: 0 / 0.8211 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5457, allocations: 0 / 0.8211 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.5457, allocations: 0.75 kB / 0.8212 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.5458, allocations: 132.6 kB / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5458, allocations: 5.828 kB / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.847e-05/0.5458, allocations: 19.84 kB / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.5458, allocations: 0 / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.5458, allocations: 0 / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.5458, allocations: 5.922 kB / 0.8213 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.5458, allocations: 0 / 0.8213 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.5461, allocations: 199.1 kB / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-06/0.5461, allocations: 10.92 kB / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.5461, allocations: 0.6094 kB / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.362e-05/0.5461, allocations: 11.83 kB / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.5462, allocations: 7.984 kB / 0.8215 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.5462, allocations: 0 / 0.8215 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.788e-05/0.5462, allocations: 93.31 kB / 0.8216 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5462, allocations: 0 / 0.8216 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001432/0.5464, allocations: 11.81 kB / 0.8216 GB, free: 13.93 MB / 0.6198 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 (3): * Single equations (assignments): 3 * 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.000458/0.5468, allocations: 0.7269 MB / 0.8223 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.547, allocations: 68.97 kB / 0.8224 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.547, allocations: 0 / 0.8224 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.92e-05/0.5471, allocations: 37.62 kB / 0.8224 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.5473, allocations: 4.875 kB / 0.8224 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.5477, allocations: 171.2 kB / 0.8226 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.956e-05/0.5477, allocations: 65.27 kB / 0.8227 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.377e-05/0.5477, allocations: 0 / 0.8227 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/0.5478, allocations: 14.83 kB / 0.8227 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.5478, allocations: 4 kB / 0.8227 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01335/0.5611, allocations: 2.174 MB / 0.8248 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.708/7.269, allocations: 10.08 kB / 0.8248 GB, free: 12.11 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Add.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.290064149070531] Failed to read output from testmodel.py, exit status != 0: 7.350406866054982 7.366179239 6.820504656 Calling exit ...