Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.176/1.176, allocations: 177.9 MB / 484.2 MB, free: 5.355 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 68.09 kB / 0.674 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7297/0.7316, allocations: 95.17 MB / 0.7669 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003055/0.7347, allocations: 1.81 MB / 0.7687 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.7363, allocations: 1.049 MB / 0.7697 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.083e-05/0.7364, allocations: 5.344 kB / 0.7697 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006617/0.737, allocations: 169.9 kB / 0.7699 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.7373, allocations: 117 kB / 0.77 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.7377, allocations: 174.5 kB / 0.7702 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.7379, allocations: 164.5 kB / 0.7703 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.738, allocations: 21.59 kB / 0.7703 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.7381, allocations: 74.34 kB / 0.7704 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.7383, allocations: 79.86 kB / 0.7705 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.7383, allocations: 7.062 kB / 0.7705 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.7384, allocations: 72.62 kB / 0.7706 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.761e-05/0.7385, allocations: 35.5 kB / 0.7706 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.074e-05/0.7386, allocations: 66.27 kB / 0.7707 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.7389, allocations: 193.2 kB / 0.7708 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.7389, allocations: 0 / 0.7708 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7389, allocations: 1.094 kB / 0.7708 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.7389, allocations: 7.938 kB / 0.7709 GB, free: 5.812 MB / 0.5762 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.0006807/0.7396, allocations: 429.3 kB / 0.7713 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.7396, allocations: 9.375 kB / 0.7713 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.7397, allocations: 15.75 kB / 0.7713 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.7399, allocations: 189.6 kB / 0.7715 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.7399, allocations: 3.344 kB / 0.7715 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.74, allocations: 6.625 kB / 0.7715 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.7402, allocations: 97.7 kB / 0.7716 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.7402, allocations: 0 / 0.7716 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.7402, allocations: 5.125 kB / 0.7716 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.7402, allocations: 2.531 kB / 0.7716 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.7403, allocations: 30.8 kB / 0.7716 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.7408, allocations: 324.5 kB / 0.7719 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.741, allocations: 76.23 kB / 0.772 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.943e-05/0.741, allocations: 31.56 kB / 0.772 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.7411, allocations: 1.375 kB / 0.772 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.7412, allocations: 79.78 kB / 0.7721 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 2.896e-06/0.7412, allocations: 3.984 kB / 0.7721 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0003878/0.7416, allocations: 152.9 kB / 0.7722 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.7417, allocations: 79.52 kB / 0.7723 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.7419, allocations: 257.6 kB / 0.7726 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.742, allocations: 25.7 kB / 0.7726 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.742, allocations: 119.6 kB / 0.7727 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.742, allocations: 23.61 kB / 0.7727 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.7421, allocations: 30.42 kB / 0.7728 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.7422, allocations: 338.9 kB / 0.7731 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-05/0.7422, allocations: 29.78 kB / 0.7731 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.047e-05/0.7423, allocations: 58.59 kB / 0.7732 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.7424, allocations: 68.8 kB / 0.7732 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7424, allocations: 0 / 0.7732 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001958/0.7426, allocations: 119.9 kB / 0.7733 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.7427, allocations: 5.688 kB / 0.7733 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7427, allocations: 7.938 kB / 0.7734 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.7427, allocations: 1.5 kB / 0.7734 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.951e-05/0.7427, allocations: 10.33 kB / 0.7734 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.7428, allocations: 1.234 kB / 0.7734 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.791e-05/0.7428, allocations: 12.53 kB / 0.7734 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.7428, allocations: 3.969 kB / 0.7734 GB, free: 3.754 MB / 0.5762 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.0001076/0.7429, allocations: 139.5 kB / 0.7735 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.743, allocations: 27.08 kB / 0.7735 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.7432, allocations: 123.4 kB / 0.7737 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.7432, allocations: 2.781 kB / 0.7737 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.7432, allocations: 5.844 kB / 0.7737 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.7432, allocations: 3.938 kB / 0.7737 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.7434, allocations: 200.8 kB / 0.7739 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7434, allocations: 0 / 0.7739 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/0.7434, allocations: 3.594 kB / 0.7739 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.7434, allocations: 0.875 kB / 0.7739 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.7435, allocations: 1.156 kB / 0.7739 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.7435, allocations: 5.266 kB / 0.7739 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7435, allocations: 3.984 kB / 0.7739 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.7437, allocations: 144.6 kB / 0.774 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.7437, allocations: 20.8 kB / 0.774 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.7437, allocations: 2.781 kB / 0.774 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.934e-05/0.7438, allocations: 1.469 kB / 0.774 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.7438, allocations: 9.297 kB / 0.7741 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.7438, allocations: 10.78 kB / 0.7741 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001755/0.744, allocations: 195.8 kB / 0.7742 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.744, allocations: 0 / 0.7742 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000246/0.7443, allocations: 36.02 kB / 0.7743 GB, free: 3.102 MB / 0.5762 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 (7): * Single equations (assignments): 4 * 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.001448/0.7457, allocations: 434 kB / 0.7747 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002217/0.7459, allocations: 64.77 kB / 0.7748 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.7459, allocations: 4.062 kB / 0.7748 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.129e-05/0.746, allocations: 35.02 kB / 0.7748 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.7463, allocations: 39.17 kB / 0.7748 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005033/0.7468, allocations: 297.2 kB / 0.7751 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.747, allocations: 0.7275 MB / 0.7758 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.014e-05/0.7471, allocations: 29.77 kB / 0.7759 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.231e-05/0.7471, allocations: 16.66 kB / 0.7759 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.7471, allocations: 0 / 0.7759 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of Templates: time 0.006618/0.7537, allocations: 2.335 MB / 0.7782 GB, free: 1.688 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.753240709193051] Failed to read output from testmodel.py, exit status != 0: 0.7616802686825395 0.776993939 0.034914523 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7f8bd6d7b0>