Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.001753/0.001753, allocations: 123.8 kB / 17.17 MB, free: 5.918 MB / 14.72 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.001853/0.001853, allocations: 210.3 kB / 20.13 MB, free: 2.98 MB / 14.72 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 1.584/1.584, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.076/3.076, allocations: 0.49 GB / 0.7923 GB, free: 1.312 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.003364/0.003364, allocations: 63.91 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041/1.044, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001964/1.046, allocations: 0.7746 MB / 1.322 GB, free: 24.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009232/1.047, allocations: 0.8997 MB / 1.323 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/1.047, allocations: 0 / 1.323 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.847e-05/1.047, allocations: 7.875 kB / 1.323 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.312e-05/1.047, allocations: 18.08 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000162/1.047, allocations: 35.78 kB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/1.047, allocations: 86.8 kB / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/1.048, allocations: 24.03 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.294e-05/1.048, allocations: 32.92 kB / 1.323 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.945e-05/1.048, allocations: 49.66 kB / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/1.048, allocations: 6.188 kB / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.653e-05/1.048, allocations: 9.75 kB / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.561e-05/1.048, allocations: 21.45 kB / 1.323 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.952e-05/1.048, allocations: 44.23 kB / 1.323 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/1.048, allocations: 82.11 kB / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.048, allocations: 7.875 kB / 1.324 GB, free: 23.36 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.064e-06/1.048, allocations: 2.719 kB / 1.324 GB, free: 23.36 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.523e-06/1.048, allocations: 0 / 1.324 GB, free: 23.36 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006308/1.049, allocations: 394.1 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/1.049, allocations: 14.3 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.443e-05/1.049, allocations: 2.625 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.069e-05/1.049, allocations: 46.08 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/1.049, allocations: 13.73 kB / 1.324 GB, free: 22.92 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/1.049, allocations: 173.8 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/1.049, allocations: 7.094 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/1.049, allocations: 10.05 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/1.049, allocations: 105.3 kB / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.049, allocations: 0 / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/1.049, allocations: 3.984 kB / 1.324 GB, free: 22.65 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/1.049, allocations: 6.875 kB / 1.324 GB, free: 22.65 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/1.05, allocations: 100.3 kB / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004931/1.05, allocations: 340.5 kB / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006329/1.051, allocations: 121.9 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/1.051, allocations: 58.84 kB / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/1.051, allocations: 0 / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/1.051, allocations: 33.94 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/1.051, allocations: 4 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0006545/1.052, allocations: 181.4 kB / 1.325 GB, free: 22.13 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/1.052, allocations: 57.94 kB / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.868e-05/1.052, allocations: 118.8 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/1.052, allocations: 28.52 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/1.052, allocations: 98.84 kB / 1.325 GB, free: 21.83 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/1.052, allocations: 18.14 kB / 1.325 GB, free: 21.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/1.052, allocations: 25.91 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.662e-05/1.052, allocations: 316.8 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/1.052, allocations: 42.34 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/1.052, allocations: 56.02 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/1.053, allocations: 91.31 kB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.053, allocations: 3.938 kB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000387/1.053, allocations: 136 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/1.053, allocations: 9.812 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.053, allocations: 0 / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/1.053, allocations: 0 / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/1.053, allocations: 25.47 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/1.053, allocations: 3.938 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/1.053, allocations: 22.83 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/1.053, allocations: 5.875 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.448e-05/1.053, allocations: 120.9 kB / 1.326 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/1.053, allocations: 3.031 kB / 1.326 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/1.053, allocations: 10.84 kB / 1.326 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/1.053, allocations: 0 / 1.326 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.053, allocations: 3.938 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/1.053, allocations: 5.922 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/1.054, allocations: 201.1 kB / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.054, allocations: 0 / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/1.054, allocations: 27.69 kB / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/1.054, allocations: 3.031 kB / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/1.054, allocations: 8 kB / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.054, allocations: 0 / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.054, allocations: 3.938 kB / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004275/1.054, allocations: 231.9 kB / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/1.054, allocations: 80.34 kB / 1.327 GB, free: 20.74 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/1.054, allocations: 6.812 kB / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/1.054, allocations: 12.94 kB / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.837e-05/1.055, allocations: 23.06 kB / 1.327 GB, free: 20.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/1.055, allocations: 7.375 kB / 1.327 GB, free: 20.72 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.793e-05/1.055, allocations: 93.77 kB / 1.327 GB, free: 20.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.055, allocations: 0 / 1.327 GB, free: 20.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002322/1.055, allocations: 20.95 kB / 1.327 GB, free: 20.63 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0006175/1.055, allocations: 0.7701 MB / 1.328 GB, free: 19.94 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004392/1.056, allocations: 117.2 kB / 1.328 GB, free: 19.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.056, allocations: 3.938 kB / 1.328 GB, free: 19.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/1.056, allocations: 54.38 kB / 1.328 GB, free: 19.9 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/1.056, allocations: 13.28 kB / 1.328 GB, free: 19.89 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/1.058, allocations: 1.528 MB / 1.329 GB, free: 18.61 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/1.059, allocations: 0.6949 MB / 1.33 GB, free: 17.91 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.639e-05/1.059, allocations: 10.81 kB / 1.33 GB, free: 17.91 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.78e-05/1.059, allocations: 32.14 kB / 1.33 GB, free: 17.89 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/1.059, allocations: 0.9688 kB / 1.33 GB, free: 17.89 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/1.08, allocations: 2.755 MB / 1.333 GB, free: 17.42 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.374/9.453, allocations: 6.219 kB / 1.333 GB, free: 17.41 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.158699569001328] Failed to read output from testmodel.py, exit status != 0: 9.581332718022168 9.594395769 8.543615397 Calling exit ...