Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0006934/0.0006934, allocations: 72.45 kB / 19.9 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.000752/0.000752, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8406/0.8406, allocations: 177.2 MB / 203.6 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7108/0.7108, allocations: 155 MB / 415 MB, free: 488 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_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.0008818/0.0008818, allocations: 69.27 kB / 0.6199 GB, free: 12.74 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.427/0.4279, allocations: 102 MB / 0.7195 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001282/0.4292, allocations: 0.5899 MB / 0.7201 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000934/0.4301, allocations: 1.148 MB / 0.7212 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.182e-05/0.4302, allocations: 1.344 kB / 0.7212 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.052e-05/0.4303, allocations: 4.594 kB / 0.7212 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 1.972e-05/0.4303, allocations: 5.828 kB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.4307, allocations: 124.2 kB / 0.7213 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.4308, allocations: 94 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 7.877e-05/0.4309, allocations: 7.875 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.885e-05/0.431, allocations: 47.8 kB / 0.7214 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.928e-05/0.431, allocations: 34.75 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.4311, allocations: 12.69 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.467e-05/0.4311, allocations: 17.25 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.56e-05/0.4312, allocations: 9.672 kB / 0.7215 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.323e-05/0.4312, allocations: 30.25 kB / 0.7215 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.4314, allocations: 110.2 kB / 0.7217 GB, free: 22 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.4314, allocations: 0.7969 kB / 0.7217 GB, free: 22 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4314, allocations: 0 / 0.7217 GB, free: 22 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.4314, allocations: 0 / 0.7217 GB, free: 22 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.0003268/0.4317, allocations: 310.2 kB / 0.7219 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.4318, allocations: 15.91 kB / 0.722 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.4318, allocations: 12.97 kB / 0.722 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.4319, allocations: 119.3 kB / 0.7221 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.4319, allocations: 3.906 kB / 0.7221 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.4319, allocations: 6.297 kB / 0.7221 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.698e-05/0.432, allocations: 52 kB / 0.7221 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.432, allocations: 192 / 0.7221 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.432, allocations: 5.062 kB / 0.7222 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.432, allocations: 0 / 0.7222 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.411e-05/0.4321, allocations: 16.62 kB / 0.7222 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002136/0.4323, allocations: 234.3 kB / 0.7224 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.595e-05/0.4323, allocations: 25.58 kB / 0.7224 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.149e-05/0.4323, allocations: 10.84 kB / 0.7224 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.4323, allocations: 0.875 kB / 0.7224 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.4324, allocations: 62.5 kB / 0.7225 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.4324, allocations: 0 / 0.7225 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001586/0.4326, allocations: 66.09 kB / 0.7226 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.4326, allocations: 53.12 kB / 0.7226 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.923e-05/0.4327, allocations: 105.4 kB / 0.7227 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.4327, allocations: 28.02 kB / 0.7227 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.553e-05/0.4327, allocations: 92.75 kB / 0.7228 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.897e-06/0.4327, allocations: 10.06 kB / 0.7228 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.4328, allocations: 35.22 kB / 0.7229 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.812e-05/0.4328, allocations: 316.7 kB / 0.7232 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.435e-05/0.4329, allocations: 56.77 kB / 0.7232 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-05/0.4329, allocations: 81.19 kB / 0.7233 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.475e-05/0.433, allocations: 80.59 kB / 0.7234 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.433, allocations: 0 / 0.7234 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001618/0.4332, allocations: 184.3 kB / 0.7235 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.4332, allocations: 35.14 kB / 0.7236 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.4332, allocations: 4.094 kB / 0.7236 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.4332, allocations: 1.125 kB / 0.7236 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.464e-05/0.4332, allocations: 2.734 kB / 0.7236 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4332, allocations: 1.953 kB / 0.7236 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.4334, allocations: 23.3 kB / 0.7236 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.4334, allocations: 11.09 kB / 0.7236 GB, free: 20.15 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.884e-05/0.4334, allocations: 120.9 kB / 0.7237 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/0.4334, allocations: 3.094 kB / 0.7237 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.806e-05/0.4334, allocations: 13.94 kB / 0.7238 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4334, allocations: 0 / 0.7238 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4335, allocations: 5.078 kB / 0.7238 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4335, allocations: 4.688 kB / 0.7238 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.026e-05/0.4335, allocations: 111.2 kB / 0.7239 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4335, allocations: 320 / 0.7239 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-06/0.4335, allocations: 1.938 kB / 0.7239 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4335, allocations: 1.312 kB / 0.7239 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.4335, allocations: 4.938 kB / 0.7239 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4335, allocations: 1.031 kB / 0.7239 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4335, allocations: 3.984 kB / 0.7239 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.676e-05/0.4336, allocations: 93.11 kB / 0.724 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.4336, allocations: 3.047 kB / 0.724 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-06/0.4336, allocations: 1.062 kB / 0.724 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.298e-06/0.4336, allocations: 1.219 kB / 0.724 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.4336, allocations: 2.438 kB / 0.724 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.4336, allocations: 1.375 kB / 0.724 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.72e-05/0.4337, allocations: 85.81 kB / 0.7241 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4337, allocations: 1.344 kB / 0.7241 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001476/0.4338, allocations: 18.47 kB / 0.7241 GB, free: 19.7 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.844e-05/0.4339, allocations: 102.2 kB / 0.7242 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.434, allocations: 141.5 kB / 0.7243 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.434, allocations: 0 / 0.7243 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-05/0.4341, allocations: 8.391 kB / 0.7243 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.4342, allocations: 14.41 kB / 0.7243 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.4344, allocations: 151.8 kB / 0.7245 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.667e-05/0.4345, allocations: 68.42 kB / 0.7245 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.467e-05/0.4345, allocations: 19.38 kB / 0.7246 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of SimCode: time 3.61e-07/0.4345, allocations: 0 / 0.7246 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of Templates: time 0.001953/0.4365, allocations: 0.936 MB / 0.7255 GB, free: 19.18 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.539236647076905] Failed to read output from testmodel.py, exit status != 0: 0.44208693597465754 0.450768422 0.01761758 Calling exit ...