Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.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.00135/0.00135, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001476/0.001476, allocations: 163.1 kB / 22.46 MB, free: 5.375 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.485/1.485, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.222/1.222, allocations: 154.6 MB / 413.8 MB, free: 5.203 MB / 382.1 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. " [Timeout remaining time 178] 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.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.6186 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.38e-05, allocations: 4.672 kB / 0.6186 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003068/0.003091, allocations: 1.788 MB / 0.6203 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002012/0.005103, allocations: 1.122 MB / 0.6214 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.072e-05/0.005184, allocations: 8 kB / 0.6214 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006158/0.0058, allocations: 163.4 kB / 0.6216 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003971/0.006197, allocations: 163.2 kB / 0.6218 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.00657, allocations: 143 kB / 0.6219 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.006838, allocations: 175.5 kB / 0.6221 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.006956, allocations: 25.23 kB / 0.6221 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.007118, allocations: 91.73 kB / 0.6222 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.00725, allocations: 67.8 kB / 0.6222 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.007279, allocations: 8 kB / 0.6222 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.007444, allocations: 67.94 kB / 0.6223 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.834e-05/0.007543, allocations: 43.84 kB / 0.6223 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.199e-05/0.007615, allocations: 39.84 kB / 0.6224 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.007953, allocations: 211.2 kB / 0.6226 GB, free: 432 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.007956, allocations: 4 kB / 0.6226 GB, free: 428 kB / 0.5294 GB Notification: Performance of FrontEnd: time 9.12e-07/0.007957, allocations: 0 / 0.6226 GB, free: 428 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.007967, allocations: 0 / 0.6226 GB, free: 428 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008369/0.008804, allocations: 435 kB / 0.623 GB, free: 15.95 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.008843, allocations: 8.031 kB / 0.623 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.0089, allocations: 20.84 kB / 0.623 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.009211, allocations: 185.4 kB / 0.6232 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.009222, allocations: 4.375 kB / 0.6232 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.009243, allocations: 8.312 kB / 0.6232 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.009419, allocations: 74.22 kB / 0.6233 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.009432, allocations: 3.938 kB / 0.6233 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.009445, allocations: 4 kB / 0.6233 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.00946, allocations: 4 kB / 0.6233 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.009566, allocations: 35.97 kB / 0.6233 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005004/0.01007, allocations: 296.4 kB / 0.6236 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.01026, allocations: 70.61 kB / 0.6237 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.334e-05/0.01034, allocations: 36.78 kB / 0.6237 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.01036, allocations: 8 kB / 0.6237 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.01053, allocations: 87.3 kB / 0.6238 GB, free: 15.04 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.01053, allocations: 0 / 0.6238 GB, free: 15.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003581/0.01089, allocations: 149.5 kB / 0.624 GB, free: 14.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.01094, allocations: 51.41 kB / 0.624 GB, free: 14.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.01125, allocations: 273.8 kB / 0.6243 GB, free: 14.55 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.01127, allocations: 25.7 kB / 0.6243 GB, free: 14.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.943e-05/0.01137, allocations: 124.1 kB / 0.6244 GB, free: 14.39 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.0114, allocations: 23.78 kB / 0.6244 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.575e-05/0.01146, allocations: 33.7 kB / 0.6245 GB, free: 14.33 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.01165, allocations: 334.8 kB / 0.6248 GB, free: 14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.84e-05/0.01172, allocations: 28.05 kB / 0.6248 GB, free: 13.97 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.01183, allocations: 80.25 kB / 0.6249 GB, free: 13.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.01197, allocations: 77.58 kB / 0.625 GB, free: 13.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.01197, allocations: 0 / 0.625 GB, free: 13.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002155/0.01219, allocations: 121.9 kB / 0.6251 GB, free: 13.67 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.01221, allocations: 10.34 kB / 0.6251 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.01221, allocations: 3.938 kB / 0.6251 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.01223, allocations: 64 / 0.6251 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.203e-05/0.0123, allocations: 12 kB / 0.6251 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.01231, allocations: 4 kB / 0.6251 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.83e-05/0.01236, allocations: 7.938 kB / 0.6251 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.01237, allocations: 8 kB / 0.6251 GB, free: 13.62 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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.000153/0.01253, allocations: 155.5 kB / 0.6253 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.01256, allocations: 15.91 kB / 0.6253 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.01286, allocations: 125.9 kB / 0.6254 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.01287, allocations: 7.984 kB / 0.6254 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01288, allocations: 4 kB / 0.6254 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01288, allocations: 3.938 kB / 0.6254 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.01308, allocations: 169.2 kB / 0.6256 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01308, allocations: 0 / 0.6256 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.922e-05/0.01311, allocations: 7.984 kB / 0.6256 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.01311, allocations: 0 / 0.6256 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.01312, allocations: 4 kB / 0.6256 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01312, allocations: 0 / 0.6256 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01312, allocations: 0 / 0.6256 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.01341, allocations: 156.9 kB / 0.6257 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.689e-05/0.01343, allocations: 11.91 kB / 0.6258 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.01346, allocations: 8 kB / 0.6258 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.155e-05/0.01351, allocations: 7.984 kB / 0.6258 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.01356, allocations: 4 kB / 0.6258 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.01357, allocations: 3.984 kB / 0.6258 GB, free: 12.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002004/0.01377, allocations: 207.5 kB / 0.626 GB, free: 12.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01377, allocations: 0 / 0.626 GB, free: 12.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002393/0.01401, allocations: 31.88 kB / 0.626 GB, free: 12.66 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001614/0.01562, allocations: 455.8 kB / 0.6264 GB, free: 12.42 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.01584, allocations: 75.91 kB / 0.6265 GB, free: 12.35 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01584, allocations: 0 / 0.6265 GB, free: 12.35 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.83e-05/0.01593, allocations: 39.97 kB / 0.6265 GB, free: 12.31 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.01624, allocations: 35.72 kB / 0.6266 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.0168, allocations: 321.9 kB / 0.6269 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.01691, allocations: 114.8 kB / 0.627 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.153e-05/0.01698, allocations: 29.77 kB / 0.627 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.01703, allocations: 20.5 kB / 0.627 GB, free: 11.75 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.01703, allocations: 0 / 0.627 GB, free: 11.75 MB / 0.545 GB Notification: Performance of Templates: time 0.007573/0.02461, allocations: 2.403 MB / 0.6294 GB, free: 9.402 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.897556524723768] Failed to read output from testmodel.py, exit status != 0: 0.033134575933218 0.049213537 0.038134427000000005 Calling exit ...