Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.0007259/0.0007259, 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.0007327/0.0007327, allocations: 165.9 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.8565/0.8565, allocations: 177.2 MB / 203.6 MB, free: 5.758 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.7203/0.7203, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [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.0009106/0.0009106, allocations: 67.91 kB / 0.6195 GB, free: 13.17 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.4515/0.4524, allocations: 102 MB / 0.7191 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001239/0.4537, allocations: 0.6 MB / 0.7197 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000894/0.4546, allocations: 1.14 MB / 0.7208 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.364e-05/0.4546, allocations: 0.9688 kB / 0.7208 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 8.78e-05/0.4547, allocations: 4.594 kB / 0.7208 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 1.905e-05/0.4547, allocations: 6.969 kB / 0.7208 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.4551, allocations: 127.3 kB / 0.7209 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.4552, allocations: 101.5 kB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 7.833e-05/0.4553, allocations: 3.5 kB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.913e-05/0.4554, allocations: 43.83 kB / 0.7211 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.881e-05/0.4555, allocations: 35.45 kB / 0.7211 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.4555, allocations: 7.875 kB / 0.7211 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.363e-05/0.4555, allocations: 17.95 kB / 0.7211 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.26e-05/0.4556, allocations: 9.391 kB / 0.7211 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.94e-05/0.4556, allocations: 31.64 kB / 0.7212 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.4558, allocations: 113.2 kB / 0.7213 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.4558, allocations: 3.938 kB / 0.7213 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4558, allocations: 5 kB / 0.7213 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.4558, allocations: 0 / 0.7213 GB, free: 22.3 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.000311/0.4561, allocations: 302.8 kB / 0.7216 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.4562, allocations: 9.594 kB / 0.7216 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.4562, allocations: 13.81 kB / 0.7216 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.4563, allocations: 118.7 kB / 0.7217 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.4563, allocations: 3.906 kB / 0.7217 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.4563, allocations: 5.625 kB / 0.7217 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.296e-05/0.4564, allocations: 48.11 kB / 0.7218 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.4564, allocations: 1.25 kB / 0.7218 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.4564, allocations: 3.938 kB / 0.7218 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4564, allocations: 5.125 kB / 0.7218 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.19e-05/0.4565, allocations: 12.16 kB / 0.7218 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.4567, allocations: 237.3 kB / 0.722 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.59e-05/0.4567, allocations: 26.52 kB / 0.722 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.114e-05/0.4567, allocations: 6.734 kB / 0.722 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-06/0.4567, allocations: 1.578 kB / 0.722 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.121e-05/0.4568, allocations: 62.72 kB / 0.7221 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4568, allocations: 0 / 0.7221 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001466/0.457, allocations: 68.73 kB / 0.7222 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.457, allocations: 57.27 kB / 0.7222 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.521e-05/0.457, allocations: 105.8 kB / 0.7223 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.4571, allocations: 28.53 kB / 0.7224 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.4571, allocations: 92.45 kB / 0.7224 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.714e-06/0.4571, allocations: 5.016 kB / 0.7224 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.4571, allocations: 31.38 kB / 0.7225 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.865e-05/0.4572, allocations: 317.5 kB / 0.7228 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.895e-05/0.4572, allocations: 59.98 kB / 0.7228 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.719e-05/0.4573, allocations: 82.39 kB / 0.7229 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.072e-05/0.4573, allocations: 87.55 kB / 0.723 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4573, allocations: 5.156 kB / 0.723 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001569/0.4575, allocations: 180.1 kB / 0.7232 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.4575, allocations: 33.97 kB / 0.7232 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.4575, allocations: 1.062 kB / 0.7232 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.4575, allocations: 1.281 kB / 0.7232 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.541e-05/0.4575, allocations: 5.609 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4575, allocations: 5.953 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.4577, allocations: 29.45 kB / 0.7233 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.4577, allocations: 11.31 kB / 0.7233 GB, free: 20.44 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 4.224e-05/0.4577, allocations: 116.1 kB / 0.7234 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-06/0.4577, allocations: 6.016 kB / 0.7234 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.74e-05/0.4578, allocations: 10.31 kB / 0.7234 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.4578, allocations: 0 / 0.7234 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4578, allocations: 0 / 0.7234 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4578, allocations: 2.094 kB / 0.7234 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.621e-05/0.4578, allocations: 110.7 kB / 0.7235 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4578, allocations: 1.5 kB / 0.7235 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.496e-06/0.4578, allocations: 4.609 kB / 0.7235 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.4578, allocations: 0 / 0.7235 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.4578, allocations: 2 kB / 0.7235 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.12e-07/0.4578, allocations: 0 / 0.7235 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.4578, allocations: 1.625 kB / 0.7235 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.947e-05/0.4579, allocations: 88.77 kB / 0.7236 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-06/0.4579, allocations: 2.797 kB / 0.7236 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-06/0.4579, allocations: 0.9375 kB / 0.7236 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-06/0.4579, allocations: 0.9688 kB / 0.7236 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.4579, allocations: 2.297 kB / 0.7236 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.4579, allocations: 2.781 kB / 0.7236 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.738e-05/0.458, allocations: 90.73 kB / 0.7237 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.458, allocations: 0 / 0.7237 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001336/0.4581, allocations: 17.88 kB / 0.7237 GB, free: 20.01 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.269e-05/0.4582, allocations: 102.2 kB / 0.7238 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.4583, allocations: 142.4 kB / 0.7239 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4583, allocations: 0 / 0.7239 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.119e-05/0.4583, allocations: 12.19 kB / 0.7239 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.4585, allocations: 18.97 kB / 0.724 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002186/0.4587, allocations: 150.7 kB / 0.7241 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.868e-05/0.4587, allocations: 68.67 kB / 0.7242 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.392e-05/0.4587, allocations: 11.44 kB / 0.7242 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of SimCode: time 3.7e-07/0.4587, allocations: 0 / 0.7242 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of Templates: time 0.001908/0.4607, allocations: 0.9382 MB / 0.7251 GB, free: 19.48 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.467341913143173] Failed to read output from testmodel.py, exit status != 0: 0.46543850004673004 0.47447891699999994 0.016830651000000002 Calling exit ...