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.0007677/0.0007677, allocations: 76.45 kB / 19.91 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.0007343/0.0007343, allocations: 166.3 kB / 23.18 MB, free: 1.387 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.8208/0.8208, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.6777/0.6777, allocations: 154.7 MB / 414.7 MB, free: 0.7227 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.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.0009941/0.0009941, allocations: 73.61 kB / 0.6196 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.4141/0.4151, allocations: 101.9 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001398/0.4165, allocations: 0.6335 MB / 0.7197 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.4176, allocations: 1.207 MB / 0.7209 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.4177, allocations: 0 / 0.7209 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.4177, allocations: 10.06 kB / 0.7209 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.664e-05/0.4178, allocations: 11.22 kB / 0.7209 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005286/0.4183, allocations: 211 kB / 0.7211 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.4185, allocations: 181.6 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.789e-05/0.4186, allocations: 9.516 kB / 0.7213 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.4187, allocations: 97.81 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.4188, allocations: 60.11 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.4189, allocations: 14.78 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.267e-05/0.4189, allocations: 23.12 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.419, allocations: 9.469 kB / 0.7215 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.55e-05/0.419, allocations: 55.86 kB / 0.7216 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.4193, allocations: 181.6 kB / 0.7217 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.4193, allocations: 5.062 kB / 0.7217 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4193, allocations: 0 / 0.7217 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.4193, allocations: 3.938 kB / 0.7218 GB, free: 21.98 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004039/0.4197, allocations: 362.6 kB / 0.7221 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4197, allocations: 9.625 kB / 0.7221 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.4198, allocations: 16.33 kB / 0.7221 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.023e-05/0.4198, allocations: 112.4 kB / 0.7222 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.4198, allocations: 4.75 kB / 0.7222 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.4199, allocations: 9.531 kB / 0.7222 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.42, allocations: 54.5 kB / 0.7223 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.42, allocations: 192 / 0.7223 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.42, allocations: 4.734 kB / 0.7223 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.42, allocations: 5 kB / 0.7223 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.435e-05/0.42, allocations: 17.7 kB / 0.7223 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.4204, allocations: 273.9 kB / 0.7226 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.782e-05/0.4204, allocations: 33.45 kB / 0.7226 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.42e-05/0.4205, allocations: 24.25 kB / 0.7226 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.4205, allocations: 0 / 0.7226 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.4206, allocations: 83.03 kB / 0.7227 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.4206, allocations: 0 / 0.7227 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002203/0.4208, allocations: 105 kB / 0.7228 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.4209, allocations: 54.56 kB / 0.7229 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.987e-05/0.4209, allocations: 116.2 kB / 0.723 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.4209, allocations: 34.2 kB / 0.723 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.421, allocations: 93.98 kB / 0.7231 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.421, allocations: 18.69 kB / 0.7231 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-05/0.4211, allocations: 49.66 kB / 0.7232 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.482e-05/0.4211, allocations: 322.7 kB / 0.7235 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.4212, allocations: 120.7 kB / 0.7236 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.4213, allocations: 155.2 kB / 0.7237 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.4214, allocations: 166.6 kB / 0.7239 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4214, allocations: 0 / 0.7239 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002908/0.4217, allocations: 326.2 kB / 0.7242 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/0.4218, allocations: 67.72 kB / 0.7243 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4218, allocations: 1.344 kB / 0.7243 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.4218, allocations: 1.062 kB / 0.7243 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.884e-05/0.4218, allocations: 4.203 kB / 0.7243 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4218, allocations: 5.734 kB / 0.7243 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.422, allocations: 64.84 kB / 0.7243 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.4221, allocations: 15.23 kB / 0.7244 GB, free: 19.72 MB / 0.6355 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 6.6e-05/0.4221, allocations: 124.9 kB / 0.7245 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-06/0.4221, allocations: 6.516 kB / 0.7245 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.194e-05/0.4221, allocations: 7.203 kB / 0.7245 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.4222, allocations: 2.469 kB / 0.7245 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4222, allocations: 0 / 0.7245 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4222, allocations: 0 / 0.7245 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.393e-05/0.4222, allocations: 121.3 kB / 0.7246 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4222, allocations: 7.938 kB / 0.7246 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-06/0.4222, allocations: 1.781 kB / 0.7246 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4222, allocations: 1.156 kB / 0.7246 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.4222, allocations: 6.438 kB / 0.7246 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4222, allocations: 0 / 0.7246 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4222, allocations: 1.156 kB / 0.7246 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.4223, allocations: 118.2 kB / 0.7247 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-06/0.4224, allocations: 6.656 kB / 0.7247 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.4224, allocations: 1.641 kB / 0.7247 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.163e-05/0.4224, allocations: 1.906 kB / 0.7248 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.4224, allocations: 5.828 kB / 0.7248 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.4224, allocations: 6.969 kB / 0.7248 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.562e-05/0.4224, allocations: 94.45 kB / 0.7249 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4224, allocations: 0 / 0.7249 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001666/0.4226, allocations: 32.5 kB / 0.7249 GB, free: 19.26 MB / 0.6355 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 9.915e-05/0.4227, allocations: 100.2 kB / 0.725 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.423, allocations: 279.5 kB / 0.7252 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.423, allocations: 1.344 kB / 0.7252 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.709e-05/0.423, allocations: 24.64 kB / 0.7253 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.4232, allocations: 24.19 kB / 0.7253 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/0.4234, allocations: 182 kB / 0.7255 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.021e-05/0.4235, allocations: 70.78 kB / 0.7255 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.4235, allocations: 15.88 kB / 0.7256 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of SimCode: time 5.81e-07/0.4235, allocations: 0 / 0.7256 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of Templates: time 0.00268/0.4262, allocations: 1.416 MB / 0.7269 GB, free: 18.54 MB / 0.6355 GB " [Timeout remaining time 660] 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: 5.221395264845341] Failed to read output from testmodel.py, exit status != 0: 0.4312821158673614 0.44079797800000003 0.019643679 Calling exit ...