Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.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.0007682/0.0007682, allocations: 72.45 kB / 19.9 MB, free: 16 kB / 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.0007676/0.0007676, allocations: 165.9 kB / 23.18 MB, free: 1.383 MB / 18.57 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.8733/0.8733, allocations: 177.2 MB / 203.6 MB, free: 5.77 MB / 186.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.6913/0.6913, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") [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.0008567/0.0008567, allocations: 63.91 kB / 0.6196 GB, free: 11.97 MB / 0.5417 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.3985/0.3994, allocations: 102 MB / 0.7192 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001435/0.4008, allocations: 0.6844 MB / 0.7198 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007675/0.4016, allocations: 0.8305 MB / 0.7207 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.4016, allocations: 0 / 0.7207 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.038e-05/0.4016, allocations: 3.938 kB / 0.7207 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.359e-05/0.4017, allocations: 11.94 kB / 0.7207 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.053e-05/0.4018, allocations: 7.984 kB / 0.7207 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.544e-05/0.4018, allocations: 47.84 kB / 0.7207 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.4019, allocations: 8 kB / 0.7207 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.398e-05/0.402, allocations: 31.91 kB / 0.7208 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.732e-05/0.4021, allocations: 23.91 kB / 0.7208 GB, free: 12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.4021, allocations: 4 kB / 0.7208 GB, free: 12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.341e-06/0.4021, allocations: 0 / 0.7208 GB, free: 12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.4021, allocations: 15.92 kB / 0.7208 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.4021, allocations: 11.94 kB / 0.7208 GB, free: 11.97 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.029e-05/0.4022, allocations: 46.11 kB / 0.7209 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4022, allocations: 4 kB / 0.7209 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.065e-06/0.4022, allocations: 0 / 0.7209 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.4022, allocations: 0 / 0.7209 GB, free: 11.93 MB / 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.0003839/0.4026, allocations: 286.2 kB / 0.7211 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.4026, allocations: 8.031 kB / 0.7211 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.584e-05/0.4027, allocations: 8.891 kB / 0.7211 GB, free: 11.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.761e-05/0.4027, allocations: 114.4 kB / 0.7213 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.4028, allocations: 4.312 kB / 0.7213 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.4028, allocations: 4.375 kB / 0.7213 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.4029, allocations: 74.2 kB / 0.7213 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.403, allocations: 192 / 0.7213 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.403, allocations: 3.938 kB / 0.7213 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.403, allocations: 0 / 0.7213 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.4031, allocations: 67.86 kB / 0.7214 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.4034, allocations: 220.5 kB / 0.7216 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.4035, allocations: 54.53 kB / 0.7217 GB, free: 11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.296e-05/0.4036, allocations: 40.86 kB / 0.7217 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.4036, allocations: 0 / 0.7217 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.4036, allocations: 34.56 kB / 0.7217 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.4036, allocations: 0 / 0.7217 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003204/0.404, allocations: 141.5 kB / 0.7219 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.404, allocations: 51.41 kB / 0.7219 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.299e-05/0.404, allocations: 105.8 kB / 0.722 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.4041, allocations: 25.7 kB / 0.722 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.415e-05/0.4041, allocations: 88.14 kB / 0.7221 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.4041, allocations: 7.906 kB / 0.7221 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.4041, allocations: 21.7 kB / 0.7222 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.142e-05/0.4042, allocations: 314.8 kB / 0.7225 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.147e-05/0.4043, allocations: 31.97 kB / 0.7225 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.769e-05/0.4044, allocations: 31.95 kB / 0.7225 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.4045, allocations: 72.78 kB / 0.7226 GB, free: 9.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4045, allocations: 0 / 0.7226 GB, free: 9.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001725/0.4047, allocations: 101.5 kB / 0.7227 GB, free: 9.875 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.4047, allocations: 4 kB / 0.7227 GB, free: 9.871 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4047, allocations: 0 / 0.7227 GB, free: 9.871 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.4047, allocations: 0 / 0.7227 GB, free: 9.871 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.928e-05/0.4048, allocations: 15.98 kB / 0.7227 GB, free: 9.855 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.4048, allocations: 4 kB / 0.7227 GB, free: 9.852 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.867e-05/0.4048, allocations: 15.97 kB / 0.7227 GB, free: 9.836 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.4048, allocations: 0 / 0.7227 GB, free: 9.836 MB / 0.6042 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.336e-05/0.4049, allocations: 118.8 kB / 0.7228 GB, free: 9.711 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.4049, allocations: 11.89 kB / 0.7228 GB, free: 9.699 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.98e-05/0.4049, allocations: 8 kB / 0.7229 GB, free: 9.688 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.4049, allocations: 4 kB / 0.7229 GB, free: 9.684 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.405, allocations: 0 / 0.7229 GB, free: 9.684 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.405, allocations: 0 / 0.7229 GB, free: 9.684 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.043e-05/0.405, allocations: 113.3 kB / 0.723 GB, free: 9.543 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.405, allocations: 0 / 0.723 GB, free: 9.543 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.4051, allocations: 19.91 kB / 0.723 GB, free: 9.523 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.4051, allocations: 7.875 kB / 0.723 GB, free: 9.516 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.4051, allocations: 4 kB / 0.723 GB, free: 9.512 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4051, allocations: 0 / 0.723 GB, free: 9.512 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4051, allocations: 0 / 0.723 GB, free: 9.512 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.4053, allocations: 195.4 kB / 0.7232 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-06/0.4053, allocations: 11.89 kB / 0.7232 GB, free: 9.293 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.4053, allocations: 0 / 0.7232 GB, free: 9.293 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.131e-05/0.4054, allocations: 15.97 kB / 0.7232 GB, free: 9.277 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.4054, allocations: 0 / 0.7232 GB, free: 9.277 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.4054, allocations: 0 / 0.7232 GB, free: 9.277 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.153e-05/0.4054, allocations: 91.58 kB / 0.7233 GB, free: 9.188 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.4054, allocations: 0 / 0.7233 GB, free: 9.188 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001454/0.4056, allocations: 4 kB / 0.7233 GB, free: 9.184 MB / 0.6042 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 9.394e-05/0.4057, allocations: 103.2 kB / 0.7234 GB, free: 9.074 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001911/0.4059, allocations: 67.86 kB / 0.7235 GB, free: 9.008 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4059, allocations: 0 / 0.7235 GB, free: 9.008 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.168e-05/0.4059, allocations: 36.42 kB / 0.7235 GB, free: 8.973 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.4062, allocations: 10.58 kB / 0.7235 GB, free: 8.965 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002837/0.4064, allocations: 155.1 kB / 0.7237 GB, free: 8.781 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.615e-05/0.4065, allocations: 67.33 kB / 0.7237 GB, free: 8.695 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.4065, allocations: 12.5 kB / 0.7237 GB, free: 8.68 MB / 0.6042 GB Notification: Performance of SimCode: time 6.61e-07/0.4065, allocations: 0 / 0.7237 GB, free: 8.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.00153/0.4081, allocations: 0.7657 MB / 0.7245 GB, free: 7.918 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.335158166009933] Failed to read output from testmodel.py, exit status != 0: 0.4128394299186766 0.42088493099999996 0.017019146000000002 Calling exit ...