Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.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.001622/0.001622, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001725/0.001725, allocations: 161.7 kB / 22.46 MB, free: 5.375 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.411/1.411, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 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.188/1.188, allocations: 154.6 MB / 413.8 MB, free: 5.203 MB / 382.1 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.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.6186 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.58e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001686/0.001712, allocations: 0.6677 MB / 0.6192 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.003636, allocations: 1.285 MB / 0.6205 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.24e-05/0.003698, allocations: 7.938 kB / 0.6205 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.27e-05/0.003731, allocations: 5.156 kB / 0.6205 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.077e-05/0.003821, allocations: 23.84 kB / 0.6205 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008676/0.004689, allocations: 314.2 kB / 0.6208 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003335/0.005023, allocations: 260.6 kB / 0.6211 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.005124, allocations: 12.19 kB / 0.6211 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.005321, allocations: 143.8 kB / 0.6212 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.005487, allocations: 75.8 kB / 0.6213 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.515e-05/0.005542, allocations: 24 kB / 0.6213 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.365e-05/0.005636, allocations: 35.98 kB / 0.6214 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.005667, allocations: 15.92 kB / 0.6214 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.005787, allocations: 71.92 kB / 0.6214 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.006142, allocations: 271.3 kB / 0.6217 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.006145, allocations: 0 / 0.6217 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.72e-07/0.006145, allocations: 0 / 0.6217 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.00615, allocations: 0 / 0.6217 GB, free: 1.344 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006251/0.006775, allocations: 419.1 kB / 0.6221 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.006811, allocations: 12.03 kB / 0.6221 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.206e-05/0.006893, allocations: 16.89 kB / 0.6221 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.007019, allocations: 124.1 kB / 0.6222 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.007049, allocations: 12.38 kB / 0.6223 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.007088, allocations: 12.38 kB / 0.6223 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.00722, allocations: 66.22 kB / 0.6223 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.00723, allocations: 4.188 kB / 0.6223 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.007241, allocations: 384 / 0.6223 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.007249, allocations: 8.109 kB / 0.6223 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.59e-05/0.007305, allocations: 20 kB / 0.6224 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.007822, allocations: 316.3 kB / 0.6227 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.228e-05/0.007894, allocations: 34.56 kB / 0.6227 GB, free: 212 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.73e-05/0.007931, allocations: 16.86 kB / 0.6227 GB, free: 192 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.007943, allocations: 0 / 0.6227 GB, free: 192 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.008137, allocations: 111.2 kB / 0.6228 GB, free: 68 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.008138, allocations: 0 / 0.6228 GB, free: 68 kB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0003353/0.008474, allocations: 141.5 kB / 0.623 GB, free: 15.92 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.008521, allocations: 55.41 kB / 0.623 GB, free: 15.86 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.008646, allocations: 133.8 kB / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.485e-05/0.008691, allocations: 33.7 kB / 0.6232 GB, free: 15.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.584e-05/0.008777, allocations: 100.2 kB / 0.6233 GB, free: 15.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.008802, allocations: 23.86 kB / 0.6233 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.008929, allocations: 65.67 kB / 0.6233 GB, free: 15.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.009076, allocations: 322.8 kB / 0.6237 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.009352, allocations: 177 kB / 0.6238 GB, free: 14.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.009647, allocations: 231 kB / 0.624 GB, free: 14.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.009964, allocations: 233 kB / 0.6243 GB, free: 14.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.009966, allocations: 0 / 0.6243 GB, free: 14.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007359/0.0107, allocations: 483.5 kB / 0.6247 GB, free: 13.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.794e-05/0.01078, allocations: 97.09 kB / 0.6248 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.01079, allocations: 7.938 kB / 0.6248 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.0108, allocations: 0 / 0.6248 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.687e-05/0.01083, allocations: 7.984 kB / 0.6248 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.01084, allocations: 4 kB / 0.6248 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004977/0.01133, allocations: 83.98 kB / 0.6249 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.01139, allocations: 19.98 kB / 0.6249 GB, free: 13.68 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001353/0.01152, allocations: 127.6 kB / 0.6251 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.01154, allocations: 11.89 kB / 0.6251 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.01158, allocations: 20.36 kB / 0.6251 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.01158, allocations: 4 kB / 0.6251 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.01158, allocations: 0 / 0.6251 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01159, allocations: 0 / 0.6251 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.01173, allocations: 129.3 kB / 0.6252 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.01173, allocations: 0 / 0.6252 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.035e-05/0.01174, allocations: 0 / 0.6252 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.01174, allocations: 3.938 kB / 0.6252 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.01175, allocations: 4 kB / 0.6252 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01175, allocations: 384 / 0.6252 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.01176, allocations: 4 kB / 0.6252 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.01199, allocations: 148.9 kB / 0.6254 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.01201, allocations: 15.84 kB / 0.6254 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.01203, allocations: 7.938 kB / 0.6254 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.389e-05/0.01206, allocations: 0 / 0.6254 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.0121, allocations: 11.98 kB / 0.6254 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.01211, allocations: 7.984 kB / 0.6254 GB, free: 13.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.392e-05/0.01218, allocations: 102.4 kB / 0.6255 GB, free: 13.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01218, allocations: 0 / 0.6255 GB, free: 13.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002757/0.01246, allocations: 36 kB / 0.6255 GB, free: 13 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001843/0.01264, allocations: 116.9 kB / 0.6257 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005729/0.01322, allocations: 407.2 kB / 0.626 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01322, allocations: 0 / 0.626 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.734e-05/0.01329, allocations: 31.92 kB / 0.6261 GB, free: 12.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.01356, allocations: 26.16 kB / 0.6261 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/0.01399, allocations: 194 kB / 0.6263 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.037e-05/0.01408, allocations: 83.89 kB / 0.6264 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.865e-05/0.01411, allocations: 8.438 kB / 0.6264 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.01414, allocations: 12.78 kB / 0.6264 GB, free: 12.03 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.01414, allocations: 0 / 0.6264 GB, free: 12.03 MB / 0.545 GB Notification: Performance of Templates: time 0.006429/0.02057, allocations: 2.907 MB / 0.6292 GB, free: 9.211 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.700584456324577] Failed to read output from testmodel.py, exit status != 0: 0.029014334082603455 0.053093314 0.042397453 Calling exit ...