Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.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.001319/0.001319, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002043/0.002043, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.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.354/1.354, allocations: 203.5 MB / 0.5038 GB, free: 4.891 MB / 414.1 MB " [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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") [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.00217/0.00217, allocations: 73.92 kB / 0.7183 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7807/0.7829, allocations: 102 MB / 0.8179 GB, free: 29.1 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.002166/0.7851, allocations: 0.6395 MB / 0.8185 GB, free: 28.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.7868, allocations: 1.208 MB / 0.8197 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.301e-05/0.7869, allocations: 0 / 0.8197 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.605e-05/0.7869, allocations: 5.594 kB / 0.8197 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.016e-05/0.787, allocations: 14.83 kB / 0.8197 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007089/0.7877, allocations: 216.9 kB / 0.8199 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002924/0.788, allocations: 165.1 kB / 0.82 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.7881, allocations: 14.17 kB / 0.8201 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.7882, allocations: 68.97 kB / 0.8201 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.7884, allocations: 55.72 kB / 0.8202 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.534e-05/0.7884, allocations: 16.03 kB / 0.8202 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.461e-05/0.7885, allocations: 28.45 kB / 0.8202 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.7886, allocations: 9.5 kB / 0.8202 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.7887, allocations: 51.47 kB / 0.8203 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.7889, allocations: 155.7 kB / 0.8204 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7889, allocations: 0 / 0.8204 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7889, allocations: 0.5 kB / 0.8204 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.7889, allocations: 0 / 0.8204 GB, free: 27.55 MB / 0.6387 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.0005677/0.7895, allocations: 359 kB / 0.8208 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.7896, allocations: 9.906 kB / 0.8208 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.504e-05/0.7896, allocations: 13.83 kB / 0.8208 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.623e-05/0.7897, allocations: 115 kB / 0.8209 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.7897, allocations: 10.84 kB / 0.8209 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/0.7898, allocations: 8.562 kB / 0.8209 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.7899, allocations: 47.19 kB / 0.821 GB, free: 27.03 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.7899, allocations: 0.875 kB / 0.821 GB, free: 27.03 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.7899, allocations: 5.25 kB / 0.821 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.7899, allocations: 1.781 kB / 0.821 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.699e-05/0.79, allocations: 17.09 kB / 0.821 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.7905, allocations: 267.5 kB / 0.8212 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 8.316e-05/0.7905, allocations: 38.08 kB / 0.8213 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.248e-05/0.7906, allocations: 19.27 kB / 0.8213 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.7906, allocations: 1.688 kB / 0.8213 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.7908, allocations: 79 kB / 0.8214 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.7908, allocations: 0 / 0.8214 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0002987/0.7911, allocations: 117 kB / 0.8215 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.7911, allocations: 54.2 kB / 0.8215 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.191e-05/0.7912, allocations: 120.5 kB / 0.8217 GB, free: 26.45 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.7913, allocations: 31.41 kB / 0.8217 GB, free: 26.41 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.7913, allocations: 94.62 kB / 0.8218 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.7913, allocations: 15.64 kB / 0.8218 GB, free: 26.31 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.7915, allocations: 49.5 kB / 0.8218 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.556e-05/0.7915, allocations: 323.5 kB / 0.8221 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.7917, allocations: 116.6 kB / 0.8223 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.7919, allocations: 161.6 kB / 0.8224 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.7922, allocations: 159.6 kB / 0.8226 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7922, allocations: 0.5156 kB / 0.8226 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004585/0.7926, allocations: 325.1 kB / 0.8229 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.878e-05/0.7927, allocations: 67.89 kB / 0.8229 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.7927, allocations: 5.344 kB / 0.8229 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.7927, allocations: 1.438 kB / 0.8229 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.453e-05/0.7927, allocations: 3.484 kB / 0.823 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.7927, allocations: 1.641 kB / 0.823 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.7931, allocations: 63.27 kB / 0.823 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.7931, allocations: 11.92 kB / 0.823 GB, free: 25.32 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.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 (9): * Single equations (assignments): 7 * 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 9.386e-05/0.7932, allocations: 129.7 kB / 0.8231 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.7932, allocations: 7.359 kB / 0.8232 GB, free: 25.19 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.7933, allocations: 10.64 kB / 0.8232 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.7933, allocations: 5.219 kB / 0.8232 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.7933, allocations: 1.188 kB / 0.8232 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.7933, allocations: 1.75 kB / 0.8232 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.537e-05/0.7934, allocations: 126.4 kB / 0.8233 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.7934, allocations: 2.234 kB / 0.8233 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.317e-06/0.7934, allocations: 1.969 kB / 0.8233 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.7934, allocations: 0 / 0.8233 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.7934, allocations: 2.312 kB / 0.8233 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.7934, allocations: 0 / 0.8233 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7934, allocations: 1.797 kB / 0.8233 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.7936, allocations: 116.9 kB / 0.8234 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.7936, allocations: 7.078 kB / 0.8234 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.7936, allocations: 5.734 kB / 0.8234 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.104e-05/0.7936, allocations: 4.797 kB / 0.8234 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.7937, allocations: 5.062 kB / 0.8234 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.7937, allocations: 3.609 kB / 0.8234 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.62e-05/0.7937, allocations: 90.14 kB / 0.8235 GB, free: 24.87 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7937, allocations: 0 / 0.8235 GB, free: 24.87 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002476/0.7939, allocations: 33.17 kB / 0.8236 GB, free: 24.86 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.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): 5 * 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.0001301/0.7941, allocations: 106.3 kB / 0.8237 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003626/0.7944, allocations: 284.2 kB / 0.8239 GB, free: 24.54 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7944, allocations: 0 / 0.8239 GB, free: 24.54 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.872e-05/0.7945, allocations: 23.95 kB / 0.824 GB, free: 24.53 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.7947, allocations: 24.56 kB / 0.824 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/0.7951, allocations: 155.1 kB / 0.8241 GB, free: 24.38 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.877e-05/0.7952, allocations: 69.05 kB / 0.8242 GB, free: 24.31 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.928e-05/0.7952, allocations: 13.67 kB / 0.8242 GB, free: 24.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.154e-05/0.7952, allocations: 11.34 kB / 0.8242 GB, free: 24.3 MB / 0.6387 GB Notification: Performance of SimCode: time 2.81e-07/0.7952, allocations: 0 / 0.8242 GB, free: 24.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.006433/0.8016, allocations: 2.084 MB / 0.8262 GB, free: 24.05 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.115850919857621] Failed to read output from testmodel.py, exit status != 0: 0.8103486113250256 0.8247826880000001 0.032683793 Calling exit ...