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.0008231/0.0008231, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005757/0.00658, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008784/0.0008784, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002408/0.003286, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9584/0.9584, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09164/1.05, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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-545:108: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-545:116: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.7863/0.7863, allocations: 154.6 MB / 398.5 MB, free: 0.5352 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2734/1.06, allocations: 49.04 MB / 447.6 MB, free: 6.723 MB / 426.7 MB " [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: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 448.9 MB, free: 5.453 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.907e-06/9.939e-06, allocations: 4.281 kB / 448.9 MB, free: 5.449 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001001/0.001011, allocations: 0.664 MB / 449.5 MB, free: 4.824 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009724/0.001983, allocations: 1.169 MB / 450.7 MB, free: 3.648 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.148e-05/0.002015, allocations: 0 / 450.7 MB, free: 3.648 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.737e-05/0.002052, allocations: 3.938 kB / 450.7 MB, free: 3.645 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.969e-05/0.002072, allocations: 12.47 kB / 450.7 MB, free: 3.637 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.002301, allocations: 115.6 kB / 450.8 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.002412, allocations: 83.17 kB / 450.9 MB, free: 3.445 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.879e-05/0.002461, allocations: 9.75 kB / 450.9 MB, free: 3.438 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.092e-05/0.002542, allocations: 53.14 kB / 451 MB, free: 3.391 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.966e-05/0.002622, allocations: 35 kB / 451 MB, free: 3.359 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.002642, allocations: 8 kB / 451 MB, free: 3.352 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.329e-05/0.002705, allocations: 23.86 kB / 451 MB, free: 3.328 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.577e-05/0.002741, allocations: 10.41 kB / 451 MB, free: 3.32 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.002781, allocations: 18.39 kB / 451.1 MB, free: 3.305 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.002898, allocations: 58.56 kB / 451.1 MB, free: 3.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/0.002909, allocations: 0.5938 kB / 451.1 MB, free: 3.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.002909, allocations: 1.469 kB / 451.1 MB, free: 3.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.002922, allocations: 0 / 451.1 MB, free: 3.25 MB / 426.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.0003322/0.003254, allocations: 296.2 kB / 451.4 MB, free: 2.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.746e-05/0.003282, allocations: 12.8 kB / 451.4 MB, free: 2.918 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.003312, allocations: 6.781 kB / 451.4 MB, free: 2.914 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.003424, allocations: 113.8 kB / 451.5 MB, free: 2.777 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.003435, allocations: 8.312 kB / 451.5 MB, free: 2.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.003451, allocations: 11.8 kB / 451.6 MB, free: 2.762 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.617e-05/0.003507, allocations: 34.25 kB / 451.6 MB, free: 2.723 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.003513, allocations: 1.719 kB / 451.6 MB, free: 2.723 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-06/0.003518, allocations: 4.375 kB / 451.6 MB, free: 2.719 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.003523, allocations: 1.656 kB / 451.6 MB, free: 2.719 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.608e-05/0.003539, allocations: 11.92 kB / 451.6 MB, free: 2.707 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.003713, allocations: 176.2 kB / 451.8 MB, free: 2.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.165e-05/0.003745, allocations: 15.27 kB / 451.8 MB, free: 2.496 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.889e-06/0.003755, allocations: 9.469 kB / 451.8 MB, free: 2.484 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-06/0.003758, allocations: 1.125 kB / 451.8 MB, free: 2.484 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.223e-05/0.00383, allocations: 51.39 kB / 451.9 MB, free: 2.422 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.003831, allocations: 0.8438 kB / 451.9 MB, free: 2.422 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 9.307e-05/0.003924, allocations: 53.56 kB / 451.9 MB, free: 2.363 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.003951, allocations: 51.95 kB / 452 MB, free: 2.301 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.091e-05/0.004011, allocations: 123.3 kB / 452.1 MB, free: 2.168 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.004027, allocations: 31.39 kB / 452.1 MB, free: 2.133 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.004064, allocations: 92.08 kB / 452.2 MB, free: 2.039 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.601e-06/0.004069, allocations: 0 / 452.2 MB, free: 2.039 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.004123, allocations: 34.89 kB / 452.2 MB, free: 2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.43e-05/0.004197, allocations: 310.8 kB / 452.5 MB, free: 1.688 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/0.004244, allocations: 47.16 kB / 452.6 MB, free: 1.637 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.233e-05/0.004297, allocations: 76.23 kB / 452.7 MB, free: 1.547 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.04e-05/0.004357, allocations: 72.83 kB / 452.7 MB, free: 1.461 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004359, allocations: 0 / 452.7 MB, free: 1.461 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000124/0.004483, allocations: 146.2 kB / 452.9 MB, free: 1.301 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.004515, allocations: 41.64 kB / 452.9 MB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.004518, allocations: 0.625 kB / 452.9 MB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.665e-06/0.004526, allocations: 7.188 kB / 452.9 MB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-05/0.004539, allocations: 3.984 kB / 452.9 MB, free: 1.246 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.004542, allocations: 4.812 kB / 452.9 MB, free: 1.242 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.004655, allocations: 23.88 kB / 452.9 MB, free: 1.219 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.004666, allocations: 4 kB / 453 MB, free: 1.215 MB / 426.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 6.473e-05/0.004731, allocations: 120.7 kB / 453.1 MB, free: 1.086 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-06/0.004738, allocations: 4.75 kB / 453.1 MB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.732e-05/0.004756, allocations: 8.844 kB / 453.1 MB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.004758, allocations: 4 kB / 453.1 MB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.004759, allocations: 1.219 kB / 453.1 MB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.004762, allocations: 0.6562 kB / 453.1 MB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.001e-05/0.004822, allocations: 69.88 kB / 453.2 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.004823, allocations: 0 / 453.2 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-06/0.004826, allocations: 0.6562 kB / 453.2 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-06/0.004831, allocations: 5.453 kB / 453.2 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.004832, allocations: 0.5938 kB / 453.2 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-06/0.004836, allocations: 5.578 kB / 453.2 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.004837, allocations: 0 / 453.2 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.004838, allocations: 0.625 kB / 453.2 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.6e-05/0.004894, allocations: 77.05 kB / 453.2 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-06/0.004902, allocations: 0.5625 kB / 453.2 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.09e-05/0.004912, allocations: 0.8438 kB / 453.2 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/0.004927, allocations: 4.594 kB / 453.3 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.004931, allocations: 4 kB / 453.3 MB, free: 0.875 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.345e-05/0.004944, allocations: 17.75 kB / 453.3 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004944, allocations: 1.203 kB / 453.3 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001506/0.005095, allocations: 12 kB / 453.3 MB, free: 0.8438 MB / 426.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 8.577e-05/0.005181, allocations: 92.44 kB / 453.4 MB, free: 0.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001252/0.005306, allocations: 134.8 kB / 453.5 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.005308, allocations: 0 / 453.5 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.337e-05/0.005322, allocations: 12.86 kB / 453.5 MB, free: 0.582 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.088e-05/0.005403, allocations: 16.97 kB / 453.5 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.005771, allocations: 122.7 kB / 453.7 MB, free: 436 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.704e-05/0.005798, allocations: 60.22 kB / 453.7 MB, free: 356 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.501e-05/0.005813, allocations: 4 kB / 453.7 MB, free: 352 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.695e-05/0.00588, allocations: 64.02 kB / 453.8 MB, free: 288 kB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/0.005881, allocations: 1.219 kB / 453.8 MB, free: 288 kB / 426.7 MB Notification: Performance of Templates: time 0.002759/0.00864, allocations: 1.299 MB / 455.1 MB, free: 15.07 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.545981309376657]