Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001575/0.001575, allocations: 68.47 kB / 19.02 MB, free: 1.125 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.001915/0.001915, allocations: 159.2 kB / 22.29 MB, free: 3.523 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 1.499/1.499, allocations: 177.2 MB / 202.7 MB, free: 4.82 MB / 186.7 MB " [Timeout remaining time 178] 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 1.217/1.217, allocations: 154.7 MB / 413.8 MB, free: 3.141 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Integers.Validation.Add,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_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.002245/0.002245, allocations: 67.52 kB / 0.6181 GB, free: 1.105 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2416, allocations: 102 MB / 0.7177 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.002553/0.2442, allocations: 0.7421 MB / 0.7184 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.2456, allocations: 0.8899 MB / 0.7193 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.2456, allocations: 0 / 0.7193 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.984e-05/0.2457, allocations: 11.88 kB / 0.7193 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.457e-05/0.2457, allocations: 7.922 kB / 0.7193 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.246, allocations: 43.83 kB / 0.7193 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.2461, allocations: 83.88 kB / 0.7194 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.2463, allocations: 20.22 kB / 0.7194 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.2465, allocations: 63.75 kB / 0.7195 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.2466, allocations: 39.83 kB / 0.7195 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.2466, allocations: 8 kB / 0.7195 GB, free: 9.324 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.284e-05/0.2466, allocations: 8 kB / 0.7195 GB, free: 9.316 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.185e-05/0.2467, allocations: 23.91 kB / 0.7195 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.623e-05/0.2467, allocations: 35.86 kB / 0.7196 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.2469, allocations: 83.66 kB / 0.7197 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2469, allocations: 0 / 0.7197 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2469, allocations: 0 / 0.7197 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.2469, allocations: 3.938 kB / 0.7197 GB, free: 9.172 MB / 0.6198 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.0008256/0.2477, allocations: 318 kB / 0.72 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.2478, allocations: 12.03 kB / 0.72 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.939e-05/0.2479, allocations: 34.75 kB / 0.72 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.2479, allocations: 8.891 kB / 0.72 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.2481, allocations: 128.7 kB / 0.7201 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.2481, allocations: 8.375 kB / 0.7202 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.2482, allocations: 11.92 kB / 0.7202 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/0.2486, allocations: 105.6 kB / 0.7203 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2486, allocations: 0 / 0.7203 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.2486, allocations: 4 kB / 0.7203 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.016e-06/0.2486, allocations: 4 kB / 0.7203 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004092/0.249, allocations: 95.84 kB / 0.7204 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006953/0.2497, allocations: 299.8 kB / 0.7207 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006717/0.2504, allocations: 114.5 kB / 0.7208 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.2506, allocations: 56.81 kB / 0.7208 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.2506, allocations: 4 kB / 0.7208 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.2506, allocations: 34.56 kB / 0.7209 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.2506, allocations: 0 / 0.7209 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0007436/0.2514, allocations: 177.5 kB / 0.721 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.2514, allocations: 59.34 kB / 0.7211 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.2516, allocations: 121.8 kB / 0.7212 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.2516, allocations: 29.7 kB / 0.7212 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.781e-05/0.2517, allocations: 96.06 kB / 0.7213 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.2517, allocations: 27.73 kB / 0.7213 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.336e-05/0.2518, allocations: 29.64 kB / 0.7214 GB, free: 7.254 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2519, allocations: 318.8 kB / 0.7217 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.2521, allocations: 43.95 kB / 0.7217 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.2523, allocations: 43.95 kB / 0.7218 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.2527, allocations: 100.8 kB / 0.7219 GB, free: 6.746 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2527, allocations: 3.938 kB / 0.7219 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004687/0.2532, allocations: 129.5 kB / 0.722 GB, free: 6.609 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2532, allocations: 8 kB / 0.722 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2532, allocations: 4 kB / 0.722 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.2532, allocations: 0 / 0.722 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.2534, allocations: 31.91 kB / 0.722 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.2534, allocations: 8.484 kB / 0.722 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.2535, allocations: 11.98 kB / 0.722 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.2535, allocations: 7.984 kB / 0.722 GB, free: 6.539 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: 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 0.0001308/0.2537, allocations: 113.8 kB / 0.7222 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.2537, allocations: 3.953 kB / 0.7222 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.2538, allocations: 16.44 kB / 0.7222 GB, free: 6.398 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.2538, allocations: 0 / 0.7222 GB, free: 6.398 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.2538, allocations: 3.938 kB / 0.7222 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.2538, allocations: 0 / 0.7222 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.254, allocations: 168.6 kB / 0.7223 GB, free: 6.188 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2541, allocations: 0 / 0.7223 GB, free: 6.188 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.2542, allocations: 23.97 kB / 0.7224 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2542, allocations: 0 / 0.7224 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.2542, allocations: 0 / 0.7224 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2542, allocations: 0 / 0.7224 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.2542, allocations: 11.94 kB / 0.7224 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005428/0.2548, allocations: 243.3 kB / 0.7226 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.2548, allocations: 3.953 kB / 0.7226 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.2548, allocations: 4 kB / 0.7226 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.255, allocations: 7.984 kB / 0.7226 GB, free: 5.883 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.125e-05/0.2551, allocations: 27.91 kB / 0.7226 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.2551, allocations: 3.984 kB / 0.7227 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.285e-05/0.2552, allocations: 110.3 kB / 0.7228 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.2552, allocations: 0 / 0.7228 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002411/0.2554, allocations: 12 kB / 0.7228 GB, free: 5.734 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: 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.0008992/0.2563, allocations: 0.767 MB / 0.7235 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004463/0.2567, allocations: 99.91 kB / 0.7236 GB, free: 4.844 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.2567, allocations: 0 / 0.7236 GB, free: 4.844 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.257, allocations: 63.88 kB / 0.7237 GB, free: 4.781 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.2573, allocations: 11.94 kB / 0.7237 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.26, allocations: 1.54 MB / 0.7252 GB, free: 3.148 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.614e-05/0.2601, allocations: 83.08 kB / 0.7253 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.093e-05/0.2601, allocations: 11.98 kB / 0.7253 GB, free: 3.035 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.249e-05/0.2602, allocations: 32.47 kB / 0.7253 GB, free: 3.004 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.2602, allocations: 4 kB / 0.7253 GB, free: 3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03465/0.2949, allocations: 3.465 MB / 0.7287 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.72, allocations: 2.656 kB / 0.7287 GB, free: 15.65 MB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Add.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.852006825007265] Failed to read output from testmodel.py, exit status != 0: 11.824717851995956 11.853380442 11.601471537 Calling exit ...