Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001884/0.001884, allocations: 84.73 kB / 19.44 MB, free: 464 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.00247/0.00247, allocations: 161.7 kB / 22.75 MB, free: 1.789 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 1.527/1.527, allocations: 177.1 MB / 203.1 MB, free: 5.344 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-545:108: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-545:116: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.23/1.23, allocations: 154.6 MB / 414.1 MB, free: 0.5742 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 178] 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.IntegerExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.5196 GB, free: 2.582 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.139e-05/3.406e-05, allocations: 4.875 kB / 0.5196 GB, free: 2.578 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.00232/0.002354, allocations: 0.8319 MB / 0.5204 GB, free: 1.766 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.004916, allocations: 1.324 MB / 0.5217 GB, free: 440 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.005029, allocations: 4 kB / 0.5217 GB, free: 436 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.005184, allocations: 15.8 kB / 0.5217 GB, free: 420 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.005326, allocations: 32.88 kB / 0.5218 GB, free: 388 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009939/0.006319, allocations: 267.3 kB / 0.522 GB, free: 120 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008387/0.007158, allocations: 331.3 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.007336, allocations: 34.34 kB / 0.5224 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003999/0.007736, allocations: 196.9 kB / 0.5226 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.007959, allocations: 79.81 kB / 0.5226 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.008068, allocations: 35.94 kB / 0.5227 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.008209, allocations: 43.98 kB / 0.5227 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.346e-05/0.008302, allocations: 52.98 kB / 0.5228 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.008482, allocations: 87.81 kB / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000579/0.009061, allocations: 382.9 kB / 0.5232 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.009064, allocations: 0.5625 kB / 0.5232 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.282e-06/0.009065, allocations: 1.875 kB / 0.5232 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.009078, allocations: 4 kB / 0.5232 GB, free: 14.89 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001023/0.0101, allocations: 484.7 kB / 0.5237 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.01014, allocations: 8.031 kB / 0.5237 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000457/0.0106, allocations: 76.69 kB / 0.5238 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007297/0.01133, allocations: 239.2 kB / 0.524 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.01137, allocations: 12.38 kB / 0.524 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.253e-05/0.01143, allocations: 21.84 kB / 0.524 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.01174, allocations: 153.5 kB / 0.5242 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.01175, allocations: 192 / 0.5242 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.01177, allocations: 8.359 kB / 0.5242 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.01178, allocations: 9.094 kB / 0.5242 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.01193, allocations: 59.91 kB / 0.5242 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009955/0.01293, allocations: 0.6499 MB / 0.5249 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.01305, allocations: 54.69 kB / 0.5249 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.0131, allocations: 25.77 kB / 0.5249 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.01312, allocations: 0 / 0.5249 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002671/0.01338, allocations: 106.5 kB / 0.525 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.01338, allocations: 0 / 0.525 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0003696/0.01375, allocations: 133.5 kB / 0.5252 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001969/0.01395, allocations: 78.27 kB / 0.5253 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.01422, allocations: 211.8 kB / 0.5255 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/0.01427, allocations: 37.7 kB / 0.5255 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.01444, allocations: 140.8 kB / 0.5256 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.01446, allocations: 17.69 kB / 0.5256 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.0146, allocations: 61.67 kB / 0.5257 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.0148, allocations: 326.8 kB / 0.526 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.01503, allocations: 139.2 kB / 0.5261 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.01535, allocations: 245 kB / 0.5264 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.01565, allocations: 197.6 kB / 0.5266 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01566, allocations: 0 / 0.5266 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007044/0.01636, allocations: 373.2 kB / 0.5269 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.928e-05/0.01644, allocations: 75.33 kB / 0.527 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.01645, allocations: 0.9375 kB / 0.527 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.01647, allocations: 4 kB / 0.527 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.147e-05/0.01654, allocations: 15.66 kB / 0.527 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.01655, allocations: 0 / 0.527 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003655/0.01692, allocations: 59.89 kB / 0.5271 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.124e-05/0.01696, allocations: 15.97 kB / 0.5271 GB, free: 10.57 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.0001857/0.01714, allocations: 152.1 kB / 0.5272 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.0172, allocations: 23.84 kB / 0.5273 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.867e-05/0.01725, allocations: 21 kB / 0.5273 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01725, allocations: 0 / 0.5273 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.01726, allocations: 3.938 kB / 0.5273 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.01726, allocations: 4 kB / 0.5273 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.01747, allocations: 161.2 kB / 0.5274 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01747, allocations: 1.562 kB / 0.5274 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.008e-05/0.0175, allocations: 8 kB / 0.5274 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01751, allocations: 0 / 0.5274 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.01752, allocations: 11.92 kB / 0.5275 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01753, allocations: 1.281 kB / 0.5275 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01753, allocations: 0 / 0.5275 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.01775, allocations: 129.9 kB / 0.5276 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-05/0.01778, allocations: 19.84 kB / 0.5276 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.01781, allocations: 8.594 kB / 0.5276 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.79e-05/0.01785, allocations: 7.984 kB / 0.5276 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.01789, allocations: 4.844 kB / 0.5276 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.01791, allocations: 11.98 kB / 0.5276 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001552/0.01806, allocations: 142.6 kB / 0.5278 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01806, allocations: 2.125 kB / 0.5278 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003142/0.01838, allocations: 51.83 kB / 0.5278 GB, free: 9.77 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001851/0.01856, allocations: 103.2 kB / 0.5279 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005199/0.01908, allocations: 300.5 kB / 0.5282 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.01908, allocations: 0 / 0.5282 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.81e-05/0.01915, allocations: 23.98 kB / 0.5282 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.01948, allocations: 42.03 kB / 0.5283 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008929/0.02037, allocations: 321.2 kB / 0.5286 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.02052, allocations: 112.9 kB / 0.5287 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.677e-05/0.02059, allocations: 23.34 kB / 0.5287 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.02063, allocations: 17.09 kB / 0.5287 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/0.02063, allocations: 1.094 kB / 0.5287 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of Templates: time 0.007459/0.02809, allocations: 2.645 MB / 0.5313 GB, free: 6.289 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.94675769796595]