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.0009958/0.0009958, allocations: 92.22 kB / 19.65 MB, free: 276 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.001113/0.001113, allocations: 173 kB / 23.03 MB, free: 1.543 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 1.032/1.032, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.8041/0.8041, allocations: 154.9 MB / 414.8 MB, free: 412 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 2.846e-06/2.846e-06, allocations: 0 / 0.5207 GB, free: 1.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.333e-05/3.618e-05, allocations: 4 kB / 0.5207 GB, free: 1.836 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001741/0.001777, allocations: 0.6101 MB / 0.5213 GB, free: 1.246 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.003151, allocations: 1.178 MB / 0.5224 GB, free: 60 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.884e-05/0.00321, allocations: 0 / 0.5224 GB, free: 60 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.003338, allocations: 7.875 kB / 0.5224 GB, free: 52 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.842e-05/0.003367, allocations: 0.9688 kB / 0.5224 GB, free: 52 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004779/0.003844, allocations: 124.4 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.003992, allocations: 91.81 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.53e-05/0.004077, allocations: 8.609 kB / 0.5226 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.968e-05/0.004147, allocations: 44.94 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.581e-05/0.004243, allocations: 39.16 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.004266, allocations: 8 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.929e-05/0.004325, allocations: 13.75 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.012e-05/0.004385, allocations: 11.98 kB / 0.5228 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.00444, allocations: 27.97 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.004612, allocations: 83.7 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.004615, allocations: 0 / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.021e-06/0.004616, allocations: 0.5 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.004621, allocations: 1.031 kB / 0.5229 GB, free: 15.61 MB / 0.4948 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.0004663/0.005088, allocations: 402.3 kB / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.00513, allocations: 12.03 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.646e-05/0.005186, allocations: 6.062 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.005336, allocations: 132.5 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.00535, allocations: 4.375 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.005365, allocations: 5 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.852e-05/0.005453, allocations: 43.62 kB / 0.5234 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.005461, allocations: 192 / 0.5234 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.005469, allocations: 4.312 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.005477, allocations: 384 / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.754e-05/0.005495, allocations: 16.42 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.005781, allocations: 288.5 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.856e-05/0.005829, allocations: 27.05 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.271e-05/0.005842, allocations: 16.94 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-06/0.005846, allocations: 0 / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.737e-05/0.005933, allocations: 68.98 kB / 0.5238 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.005934, allocations: 0.875 kB / 0.5239 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001639/0.006098, allocations: 57.64 kB / 0.5239 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.006134, allocations: 56.47 kB / 0.524 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.503e-05/0.006219, allocations: 169.9 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.006237, allocations: 33.7 kB / 0.5242 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.006286, allocations: 135.6 kB / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.074e-06/0.006294, allocations: 0 / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.006341, allocations: 40.06 kB / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.00645, allocations: 0.4884 MB / 0.5248 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.276e-05/0.006513, allocations: 54.44 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.305e-05/0.006576, allocations: 81.05 kB / 0.5249 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.127e-05/0.006647, allocations: 85.62 kB / 0.525 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.006651, allocations: 6.688 kB / 0.525 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001752/0.006826, allocations: 184.9 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.006859, allocations: 33.69 kB / 0.5252 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.006864, allocations: 4 kB / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.006878, allocations: 0 / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.452e-05/0.006892, allocations: 0 / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.006897, allocations: 1.312 kB / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.007017, allocations: 23.98 kB / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.007031, allocations: 8.547 kB / 0.5253 GB, free: 12.9 MB / 0.4948 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 7.14e-05/0.007103, allocations: 157.6 kB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-06/0.007113, allocations: 11.89 kB / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.971e-05/0.007132, allocations: 8 kB / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.007134, allocations: 1.25 kB / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.007137, allocations: 0 / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.007141, allocations: 3.984 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.244e-05/0.007213, allocations: 125.8 kB / 0.5256 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007214, allocations: 3.938 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-06/0.007218, allocations: 0 / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.007221, allocations: 3.938 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.007228, allocations: 4.75 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007229, allocations: 0 / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.007231, allocations: 1 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.302e-05/0.007314, allocations: 84.44 kB / 0.5256 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-06/0.00732, allocations: 3.031 kB / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.00733, allocations: 7.922 kB / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-06/0.007337, allocations: 4 kB / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.007364, allocations: 7.984 kB / 0.5257 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.007368, allocations: 0 / 0.5257 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.743e-05/0.007406, allocations: 127.2 kB / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007406, allocations: 0 / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001418/0.007548, allocations: 19.95 kB / 0.5258 GB, free: 12.28 MB / 0.4948 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.0001234/0.007671, allocations: 110 kB / 0.5259 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001598/0.007831, allocations: 140.8 kB / 0.526 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.007833, allocations: 0 / 0.526 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.118e-05/0.007854, allocations: 19.62 kB / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.008011, allocations: 13.2 kB / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002404/0.008251, allocations: 126.2 kB / 0.5262 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.103e-05/0.008282, allocations: 60 kB / 0.5263 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.559e-05/0.008298, allocations: 7.438 kB / 0.5263 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.008313, allocations: 8.5 kB / 0.5263 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.008313, allocations: 0 / 0.5263 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.002992/0.0113, allocations: 1.271 MB / 0.5275 GB, free: 10.54 MB / 0.4948 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=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.890042881015688]