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.0007251/0.0007251, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007809/0.0007809, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8658/0.8658, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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-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 0.7148/0.7148, allocations: 154.6 MB / 414.5 MB, free: 0.8242 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. " [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.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.704e-06/1.704e-06, allocations: 0 / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.872e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002435/0.002464, allocations: 1.78 MB / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.003789, allocations: 1.13 MB / 0.6222 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.653e-05/0.003876, allocations: 0 / 0.6222 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005547/0.004431, allocations: 167.4 kB / 0.6223 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.004707, allocations: 167.3 kB / 0.6225 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005474/0.005255, allocations: 143.5 kB / 0.6226 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.005439, allocations: 171.5 kB / 0.6228 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.005548, allocations: 17.3 kB / 0.6228 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.005654, allocations: 91.73 kB / 0.6229 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.005756, allocations: 71.78 kB / 0.623 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.005774, allocations: 8 kB / 0.623 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.005891, allocations: 75.81 kB / 0.6231 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.335e-05/0.005955, allocations: 43.86 kB / 0.6231 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.948e-05/0.006004, allocations: 43.84 kB / 0.6231 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.00625, allocations: 207.3 kB / 0.6233 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.006252, allocations: 0 / 0.6233 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.102e-06/0.006254, allocations: 0 / 0.6233 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.006258, allocations: 0 / 0.6233 GB, free: 9.047 MB / 0.5886 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.0005377/0.006796, allocations: 430.9 kB / 0.6237 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.006833, allocations: 8.031 kB / 0.6238 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.006879, allocations: 20.78 kB / 0.6238 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.007113, allocations: 197.4 kB / 0.624 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.007127, allocations: 8.312 kB / 0.624 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.007137, allocations: 384 / 0.624 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.007275, allocations: 78.2 kB / 0.624 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.007283, allocations: 3.938 kB / 0.624 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.007293, allocations: 0 / 0.624 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.007304, allocations: 4 kB / 0.6241 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.891e-05/0.007373, allocations: 39.97 kB / 0.6241 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.007735, allocations: 292.4 kB / 0.6244 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.007865, allocations: 74.61 kB / 0.6244 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.109e-05/0.007906, allocations: 36.84 kB / 0.6245 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.00792, allocations: 0 / 0.6245 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.008047, allocations: 87.31 kB / 0.6246 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.008048, allocations: 0 / 0.6246 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0002351/0.008284, allocations: 145.5 kB / 0.6247 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.008312, allocations: 55.41 kB / 0.6247 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.0085, allocations: 277.7 kB / 0.625 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.008512, allocations: 29.98 kB / 0.625 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.994e-05/0.008572, allocations: 116.1 kB / 0.6252 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.008595, allocations: 27.84 kB / 0.6252 GB, free: 7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.00863, allocations: 33.64 kB / 0.6252 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.35e-05/0.008714, allocations: 334.8 kB / 0.6255 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.171e-05/0.008755, allocations: 23.98 kB / 0.6256 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.389e-05/0.008819, allocations: 84.31 kB / 0.6256 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.089e-05/0.0089, allocations: 81.56 kB / 0.6257 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.008903, allocations: 0 / 0.6257 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001287/0.009031, allocations: 117.5 kB / 0.6258 GB, free: 6.297 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.009044, allocations: 8.062 kB / 0.6258 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.009051, allocations: 0 / 0.6258 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.009063, allocations: 4 kB / 0.6258 GB, free: 6.285 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.493e-05/0.009117, allocations: 8 kB / 0.6258 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.009122, allocations: 0 / 0.6258 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.706e-05/0.009159, allocations: 19.88 kB / 0.6259 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.009169, allocations: 8 kB / 0.6259 GB, free: 6.25 MB / 0.5886 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 8.996e-05/0.009259, allocations: 142.7 kB / 0.626 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.009275, allocations: 15.91 kB / 0.626 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.00944, allocations: 131.1 kB / 0.6261 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.009449, allocations: 7.984 kB / 0.6262 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.009453, allocations: 0 / 0.6262 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.009456, allocations: 0 / 0.6262 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.009574, allocations: 173.1 kB / 0.6263 GB, free: 5.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.009575, allocations: 3.938 kB / 0.6263 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.766e-05/0.009593, allocations: 4 kB / 0.6263 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.009595, allocations: 0 / 0.6263 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.009602, allocations: 0 / 0.6263 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.009603, allocations: 96 / 0.6263 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.009604, allocations: 7.938 kB / 0.6263 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.009738, allocations: 159.5 kB / 0.6265 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.168e-05/0.00976, allocations: 23.8 kB / 0.6265 GB, free: 5.535 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.009777, allocations: 4 kB / 0.6265 GB, free: 5.531 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.53e-05/0.009803, allocations: 7.984 kB / 0.6265 GB, free: 5.523 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.009836, allocations: 3.984 kB / 0.6265 GB, free: 5.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.009847, allocations: 4 kB / 0.6265 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001209/0.009968, allocations: 203.5 kB / 0.6267 GB, free: 5.316 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009968, allocations: 0 / 0.6267 GB, free: 5.316 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001583/0.01013, allocations: 27.98 kB / 0.6267 GB, free: 5.289 MB / 0.5886 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.0007566/0.01088, allocations: 462.6 kB / 0.6272 GB, free: 5.043 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.01103, allocations: 75.89 kB / 0.6273 GB, free: 4.969 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01103, allocations: 0 / 0.6273 GB, free: 4.969 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.688e-05/0.01108, allocations: 39.92 kB / 0.6273 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.01127, allocations: 43.05 kB / 0.6273 GB, free: 4.891 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004141/0.01168, allocations: 339.8 kB / 0.6277 GB, free: 4.52 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.461e-05/0.01176, allocations: 114.8 kB / 0.6278 GB, free: 4.391 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.01179, allocations: 24.48 kB / 0.6278 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.01179, allocations: 0 / 0.6278 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of Templates: time 0.003533/0.01532, allocations: 2.691 MB / 0.6304 GB, free: 1.695 MB / 0.5886 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.458124068565667] Failed to read output from testmodel.py, exit status != 0: 0.020973479375243187 0.029639882000000003 0.021400603 Calling exit ...