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.001331/0.001331, allocations: 75.25 kB / 19.16 MB, free: 2.566 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.001567/0.001567, allocations: 167.9 kB / 22.44 MB, free: 5.309 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.409/1.409, allocations: 177.2 MB / 202.8 MB, free: 9.203 MB / 190.1 MB " [Timeout remaining time 178] 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 1.152/1.152, allocations: 155 MB / 414.2 MB, free: 4.938 MB / 382.1 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 178] 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.002191/0.002191, allocations: 74.77 kB / 0.6191 GB, free: 4.195 MB / 0.5294 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.5447/0.5469, allocations: 102 MB / 0.7187 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001975/0.5489, allocations: 0.629 MB / 0.7193 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.5502, allocations: 1.142 MB / 0.7204 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.5502, allocations: 0 / 0.7204 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.5503, allocations: 1.031 kB / 0.7204 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.425e-05/0.5504, allocations: 5.734 kB / 0.7205 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.5508, allocations: 128.5 kB / 0.7206 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.551, allocations: 89.77 kB / 0.7207 GB, free: 476 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.583e-05/0.5511, allocations: 3.359 kB / 0.7207 GB, free: 476 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.917e-05/0.5512, allocations: 56.59 kB / 0.7207 GB, free: 448 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.5513, allocations: 27.75 kB / 0.7207 GB, free: 440 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.5513, allocations: 7.906 kB / 0.7208 GB, free: 440 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.835e-05/0.5514, allocations: 19.78 kB / 0.7208 GB, free: 436 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.272e-05/0.5515, allocations: 10.89 kB / 0.7208 GB, free: 432 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.713e-05/0.5515, allocations: 37.7 kB / 0.7208 GB, free: 408 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.5517, allocations: 105.6 kB / 0.7209 GB, free: 368 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.5517, allocations: 6.047 kB / 0.7209 GB, free: 364 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5517, allocations: 0 / 0.7209 GB, free: 364 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.5518, allocations: 0 / 0.7209 GB, free: 364 kB / 0.6075 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.000414/0.5522, allocations: 302.5 kB / 0.7212 GB, free: 52 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.5522, allocations: 9.125 kB / 0.7212 GB, free: 52 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.5523, allocations: 10.55 kB / 0.7212 GB, free: 48 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.5525, allocations: 119.3 kB / 0.7213 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.5525, allocations: 6.656 kB / 0.7214 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.5525, allocations: 10.45 kB / 0.7214 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.5527, allocations: 43.56 kB / 0.7214 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.5527, allocations: 4.188 kB / 0.7214 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.5527, allocations: 5.625 kB / 0.7214 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5527, allocations: 0 / 0.7214 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.62e-05/0.5527, allocations: 13.11 kB / 0.7214 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.5531, allocations: 245.7 kB / 0.7217 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 6.148e-05/0.5532, allocations: 21.52 kB / 0.7217 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/0.5532, allocations: 8.359 kB / 0.7217 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.5532, allocations: 0 / 0.7217 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.5534, allocations: 57.78 kB / 0.7217 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.5534, allocations: 3.938 kB / 0.7217 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0002235/0.5536, allocations: 72.14 kB / 0.7218 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.5537, allocations: 53.58 kB / 0.7219 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.5538, allocations: 110 kB / 0.722 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.5538, allocations: 31.78 kB / 0.722 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/0.5539, allocations: 88.34 kB / 0.7221 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.5539, allocations: 6.391 kB / 0.7221 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.08e-05/0.554, allocations: 35.05 kB / 0.7221 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.5541, allocations: 313.4 kB / 0.7224 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.5543, allocations: 60.47 kB / 0.7225 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.5544, allocations: 77.38 kB / 0.7226 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.5545, allocations: 91.58 kB / 0.7226 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5545, allocations: 1.062 kB / 0.7226 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003217/0.5548, allocations: 175.6 kB / 0.7228 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.487e-05/0.5549, allocations: 34.23 kB / 0.7228 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.5549, allocations: 1.844 kB / 0.7228 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.5549, allocations: 1.359 kB / 0.7228 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.748e-05/0.5549, allocations: 6 kB / 0.7229 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.555, allocations: 1.562 kB / 0.7229 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.5552, allocations: 27.94 kB / 0.7229 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.5552, allocations: 6.016 kB / 0.7229 GB, free: 14.51 MB / 0.6231 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 0.0001195/0.5553, allocations: 126.6 kB / 0.723 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.5553, allocations: 6.234 kB / 0.723 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.5554, allocations: 5.219 kB / 0.723 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.5554, allocations: 1.031 kB / 0.723 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5554, allocations: 1.125 kB / 0.723 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.5554, allocations: 0.75 kB / 0.723 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.5555, allocations: 110.9 kB / 0.7231 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5555, allocations: 5.094 kB / 0.7231 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.542e-06/0.5555, allocations: 1.172 kB / 0.7231 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.5555, allocations: 1.125 kB / 0.7231 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.5555, allocations: 0.9062 kB / 0.7231 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.5555, allocations: 0.75 kB / 0.7231 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.5555, allocations: 1.094 kB / 0.7231 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.5556, allocations: 85.06 kB / 0.7232 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-06/0.5556, allocations: 1.766 kB / 0.7232 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.5557, allocations: 8.969 kB / 0.7232 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.483e-05/0.5557, allocations: 5.547 kB / 0.7232 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.5557, allocations: 10.88 kB / 0.7232 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.5557, allocations: 1.719 kB / 0.7232 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.377e-05/0.5558, allocations: 86.34 kB / 0.7233 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.5558, allocations: 0 / 0.7233 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002169/0.556, allocations: 24.61 kB / 0.7234 GB, free: 14.05 MB / 0.6231 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 0.000149/0.5561, allocations: 96.84 kB / 0.7234 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002608/0.5564, allocations: 133.1 kB / 0.7236 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5564, allocations: 0 / 0.7236 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.212e-05/0.5564, allocations: 16.11 kB / 0.7236 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.5566, allocations: 16.91 kB / 0.7236 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.557, allocations: 130.6 kB / 0.7237 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.474e-05/0.5571, allocations: 64.3 kB / 0.7238 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.983e-05/0.5571, allocations: 3.062 kB / 0.7238 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.5571, allocations: 9.812 kB / 0.7238 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of SimCode: time 2.7e-07/0.5571, allocations: 1.5 kB / 0.7238 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of Templates: time 0.004427/0.5615, allocations: 1.166 MB / 0.7249 GB, free: 13.49 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.060793098062277] Failed to read output from testmodel.py, exit status != 0: 0.5714017301797867 0.585364805 0.030451166 Calling exit ...