Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.0008699/0.0008699, allocations: 76.45 kB / 19.91 MB, free: 12 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.0009894/0.0009894, 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.8869/0.8869, allocations: 177.2 MB / 203.6 MB, free: 5.793 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.7082/0.7082, allocations: 154.7 MB / 414.7 MB, free: 0.7344 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.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [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.0008873/0.0008873, allocations: 73.47 kB / 0.6195 GB, free: 13.12 MB / 0.5886 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.3829/0.3838, allocations: 101.9 MB / 0.7191 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001468/0.3853, allocations: 0.9435 MB / 0.72 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.3865, allocations: 1.359 MB / 0.7214 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.19e-05/0.3866, allocations: 6.062 kB / 0.7214 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.3867, allocations: 24.06 kB / 0.7214 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.578e-05/0.3868, allocations: 44.58 kB / 0.7214 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005805/0.3873, allocations: 274.6 kB / 0.7217 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.3877, allocations: 390.8 kB / 0.7221 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.3878, allocations: 51.03 kB / 0.7221 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.388, allocations: 224.2 kB / 0.7223 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.3882, allocations: 121.7 kB / 0.7224 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.699e-05/0.3882, allocations: 33.97 kB / 0.7225 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.902e-05/0.3883, allocations: 46.05 kB / 0.7225 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.357e-05/0.3884, allocations: 58.23 kB / 0.7226 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.3885, allocations: 120.9 kB / 0.7227 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004162/0.3889, allocations: 454 kB / 0.7231 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.3889, allocations: 6.359 kB / 0.7231 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.465e-06/0.3889, allocations: 3.938 kB / 0.7231 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.389, allocations: 0 / 0.7231 GB, free: 21.21 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007105/0.3897, allocations: 0.5473 MB / 0.7237 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3897, allocations: 9.312 kB / 0.7237 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002599/0.39, allocations: 76.34 kB / 0.7237 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005335/0.3905, allocations: 311.2 kB / 0.724 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.3905, allocations: 13.84 kB / 0.7241 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.3906, allocations: 20.67 kB / 0.7241 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.3908, allocations: 211.1 kB / 0.7243 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3908, allocations: 7.938 kB / 0.7243 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.3909, allocations: 6.156 kB / 0.7243 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3909, allocations: 4.562 kB / 0.7243 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002681/0.3911, allocations: 139.8 kB / 0.7244 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006124/0.3917, allocations: 0.7816 MB / 0.7252 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.3919, allocations: 153 kB / 0.7253 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.3921, allocations: 80.39 kB / 0.7254 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.3921, allocations: 2.25 kB / 0.7254 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000299/0.3924, allocations: 171 kB / 0.7256 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.3924, allocations: 0 / 0.7256 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0005333/0.3929, allocations: 266.5 kB / 0.7258 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.3929, allocations: 158.9 kB / 0.726 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.3931, allocations: 219.8 kB / 0.7262 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.3931, allocations: 38.89 kB / 0.7262 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/0.3932, allocations: 156.8 kB / 0.7264 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.3932, allocations: 34.91 kB / 0.7264 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.468e-05/0.3933, allocations: 56.27 kB / 0.7265 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.92e-05/0.3933, allocations: 330.3 kB / 0.7268 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.3936, allocations: 164.3 kB / 0.7269 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.3938, allocations: 288.4 kB / 0.7272 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003633/0.3942, allocations: 276.6 kB / 0.7275 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3942, allocations: 7.875 kB / 0.7275 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00062/0.3948, allocations: 437.4 kB / 0.7279 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.595e-05/0.3949, allocations: 69.2 kB / 0.728 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.3949, allocations: 1.406 kB / 0.728 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.3949, allocations: 3.625 kB / 0.728 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.395, allocations: 24.92 kB / 0.728 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/0.3951, allocations: 3.359 kB / 0.728 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.3953, allocations: 71.77 kB / 0.7281 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.3953, allocations: 18.11 kB / 0.7281 GB, free: 17.61 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0001277/0.3955, allocations: 158.7 kB / 0.7282 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.3955, allocations: 22.28 kB / 0.7283 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.256e-05/0.3955, allocations: 23.08 kB / 0.7283 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3955, allocations: 2.625 kB / 0.7283 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.3956, allocations: 0.9375 kB / 0.7283 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.3956, allocations: 10.91 kB / 0.7283 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.3957, allocations: 192.6 kB / 0.7285 GB, free: 17.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.3958, allocations: 1.328 kB / 0.7285 GB, free: 17.28 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.351e-05/0.3958, allocations: 28.77 kB / 0.7285 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3958, allocations: 2.359 kB / 0.7285 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.3959, allocations: 6.469 kB / 0.7285 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.3959, allocations: 6.531 kB / 0.7285 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3959, allocations: 1.938 kB / 0.7285 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.3963, allocations: 241.3 kB / 0.7287 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.587e-05/0.3963, allocations: 20.14 kB / 0.7288 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.3963, allocations: 6.844 kB / 0.7288 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.78e-05/0.3964, allocations: 16.39 kB / 0.7288 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.782e-05/0.3965, allocations: 16.88 kB / 0.7288 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.3965, allocations: 13.39 kB / 0.7288 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001306/0.3966, allocations: 158.2 kB / 0.729 GB, free: 17 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.3966, allocations: 0 / 0.729 GB, free: 17 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002494/0.3969, allocations: 53.02 kB / 0.729 GB, free: 16.99 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001764/0.397, allocations: 103.3 kB / 0.7291 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005591/0.3976, allocations: 380.9 kB / 0.7295 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3976, allocations: 0 / 0.7295 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.3978, allocations: 80.39 kB / 0.7296 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.3981, allocations: 48.22 kB / 0.7296 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005475/0.3986, allocations: 419.3 kB / 0.73 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.3987, allocations: 139.4 kB / 0.7301 GB, free: 16.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.3988, allocations: 20.38 kB / 0.7302 GB, free: 16.23 MB / 0.6355 GB Notification: Performance of SimCode: time 9.42e-07/0.3988, allocations: 3.938 kB / 0.7302 GB, free: 16.22 MB / 0.6355 GB Notification: Performance of Templates: time 0.0046/0.4034, allocations: 3.149 MB / 0.7332 GB, free: 15.93 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.895729620009661] Failed to read output from testmodel.py, exit status != 0: 0.40878091007471085 0.41665591100000005 0.026104996000000002 Calling exit ...