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.0009138/0.0009138, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009208/0.0009208, allocations: 181 kB / 23.36 MB, free: 1.133 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.9941/0.9941, allocations: 177.1 MB / 203.8 MB, free: 5.484 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-535:34: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-535:42: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.87/0.87, allocations: 154.9 MB / 415.1 MB, free: 244 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: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 480.4 MB, free: 6.543 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.621e-05, allocations: 8.141 kB / 480.4 MB, free: 6.535 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.00119/0.001206, allocations: 0.6086 MB / 481 MB, free: 5.957 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.002281, allocations: 1.18 MB / 482.1 MB, free: 4.773 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.00232, allocations: 0 / 482.1 MB, free: 4.773 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 8.52e-05/0.002406, allocations: 8.906 kB / 482.2 MB, free: 4.766 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.513e-05/0.002431, allocations: 4.266 kB / 482.2 MB, free: 4.766 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.002761, allocations: 123.6 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.002874, allocations: 91.27 kB / 482.4 MB, free: 4.562 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.672e-05/0.002931, allocations: 5 kB / 482.4 MB, free: 4.559 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.278e-05/0.002993, allocations: 50.88 kB / 482.4 MB, free: 4.512 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.587e-05/0.003079, allocations: 32.09 kB / 482.5 MB, free: 4.484 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.003096, allocations: 9.094 kB / 482.5 MB, free: 4.477 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.169e-05/0.003148, allocations: 20.53 kB / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.249e-05/0.00319, allocations: 4.984 kB / 482.5 MB, free: 4.453 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.003228, allocations: 34.44 kB / 482.5 MB, free: 4.422 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.003335, allocations: 78.3 kB / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.003336, allocations: 1.156 kB / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003337, allocations: 0 / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.00334, allocations: 0 / 482.6 MB, free: 4.348 MB / 442.7 MB 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.0002685/0.003608, allocations: 288.1 kB / 482.9 MB, free: 4.039 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.733e-05/0.003636, allocations: 8.797 kB / 482.9 MB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.003662, allocations: 8.938 kB / 482.9 MB, free: 4.023 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.003764, allocations: 113.8 kB / 483 MB, free: 3.887 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.003774, allocations: 4.375 kB / 483 MB, free: 3.883 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.00379, allocations: 8.375 kB / 483 MB, free: 3.875 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.139e-05/0.003842, allocations: 36.56 kB / 483.1 MB, free: 3.836 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.003847, allocations: 5.219 kB / 483.1 MB, free: 3.832 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.003857, allocations: 8.359 kB / 483.1 MB, free: 3.824 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.003862, allocations: 4.906 kB / 483.1 MB, free: 3.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.092e-05/0.003873, allocations: 13.28 kB / 483.1 MB, free: 3.809 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.004041, allocations: 164.2 kB / 483.3 MB, free: 3.633 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.375e-05/0.004075, allocations: 22.52 kB / 483.3 MB, free: 3.602 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.534e-06/0.004083, allocations: 5.609 kB / 483.3 MB, free: 3.594 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-06/0.004087, allocations: 4.062 kB / 483.3 MB, free: 3.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.677e-05/0.004143, allocations: 56.56 kB / 483.3 MB, free: 3.523 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.004144, allocations: 0 / 483.3 MB, free: 3.523 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 8.025e-05/0.004225, allocations: 58.16 kB / 483.4 MB, free: 3.465 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.004252, allocations: 60.36 kB / 483.5 MB, free: 3.395 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.975e-05/0.004302, allocations: 106.7 kB / 483.6 MB, free: 3.277 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.004316, allocations: 26.45 kB / 483.6 MB, free: 3.246 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/0.004349, allocations: 92.08 kB / 483.7 MB, free: 3.152 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/0.004359, allocations: 12.56 kB / 483.7 MB, free: 3.141 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.004395, allocations: 26.58 kB / 483.7 MB, free: 3.109 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.617e-05/0.004461, allocations: 320.1 kB / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.66e-05/0.004498, allocations: 45.69 kB / 484.1 MB, free: 2.738 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.303e-05/0.004541, allocations: 72.25 kB / 484.1 MB, free: 2.652 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.093e-05/0.004592, allocations: 73.89 kB / 484.2 MB, free: 2.566 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004593, allocations: 0 / 484.2 MB, free: 2.566 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001026/0.004696, allocations: 146 kB / 484.4 MB, free: 2.406 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.004721, allocations: 37.64 kB / 484.4 MB, free: 2.363 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.004724, allocations: 0.875 kB / 484.4 MB, free: 2.363 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.004734, allocations: 1.031 kB / 484.4 MB, free: 2.363 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.034e-05/0.004744, allocations: 4 kB / 484.4 MB, free: 2.359 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.004749, allocations: 3.984 kB / 484.4 MB, free: 2.355 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.832e-05/0.004837, allocations: 17.42 kB / 484.4 MB, free: 2.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.004848, allocations: 4 kB / 484.4 MB, free: 2.336 MB / 442.7 MB 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 5.425e-05/0.004902, allocations: 121.4 kB / 484.5 MB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.004912, allocations: 7.984 kB / 484.5 MB, free: 2.199 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.9e-05/0.004931, allocations: 17.25 kB / 484.6 MB, free: 2.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.004932, allocations: 0 / 484.6 MB, free: 2.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.004933, allocations: 0 / 484.6 MB, free: 2.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.004938, allocations: 4 kB / 484.6 MB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.817e-05/0.004986, allocations: 66.73 kB / 484.6 MB, free: 2.094 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.004986, allocations: 0 / 484.6 MB, free: 2.094 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-06/0.004989, allocations: 0.7812 kB / 484.6 MB, free: 2.094 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.31e-07/0.00499, allocations: 320 / 484.6 MB, free: 2.094 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.004995, allocations: 4.875 kB / 484.6 MB, free: 2.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.004996, allocations: 4 kB / 484.6 MB, free: 2.086 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.004998, allocations: 5 kB / 484.6 MB, free: 2.082 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.467e-05/0.005043, allocations: 65.12 kB / 484.7 MB, free: 2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-06/0.005046, allocations: 0 / 484.7 MB, free: 2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.136e-06/0.005055, allocations: 8.609 kB / 484.7 MB, free: 1.992 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-06/0.005061, allocations: 0 / 484.7 MB, free: 1.992 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.005077, allocations: 4.562 kB / 484.7 MB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.005078, allocations: 0 / 484.7 MB, free: 1.988 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.208e-05/0.00509, allocations: 21.39 kB / 484.7 MB, free: 1.965 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00509, allocations: 0.625 kB / 484.7 MB, free: 1.965 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001075/0.005198, allocations: 20 kB / 484.8 MB, free: 1.945 MB / 442.7 MB 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 7.708e-05/0.005275, allocations: 81.61 kB / 484.8 MB, free: 1.859 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.005382, allocations: 130.7 kB / 485 MB, free: 1.711 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.005385, allocations: 4 kB / 485 MB, free: 1.707 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-05/0.005399, allocations: 18.72 kB / 485 MB, free: 1.688 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.467e-05/0.005474, allocations: 5.438 kB / 485 MB, free: 1.684 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000181/0.005655, allocations: 129.2 kB / 485.1 MB, free: 1.531 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.673e-05/0.005681, allocations: 56.3 kB / 485.2 MB, free: 1.457 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.19e-05/0.005693, allocations: 0 / 485.2 MB, free: 1.457 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.005752, allocations: 64.45 kB / 485.2 MB, free: 1.395 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.005753, allocations: 0 / 485.2 MB, free: 1.395 MB / 442.7 MB Notification: Performance of Templates: time 0.002556/0.008308, allocations: 1.271 MB / 486.5 MB, free: 220 kB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6031467602588236]