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.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.0009564/0.0009564, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 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.001515/0.001515, allocations: 223.7 kB / 22.26 MB, free: 3.703 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 1.012/1.012, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.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-531:190: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-531:198: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.8462/0.8462, allocations: 203.8 MB / 0.5042 GB, free: 10.76 MB / 410.7 MB " [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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 64.72 kB / 0.7182 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5644/0.5658, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002491/0.5683, allocations: 1.826 MB / 0.8196 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.5698, allocations: 1.207 MB / 0.8208 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.5699, allocations: 7.938 kB / 0.8208 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006094/0.5705, allocations: 166.4 kB / 0.821 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.5708, allocations: 156.1 kB / 0.8211 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.5711, allocations: 143 kB / 0.8213 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.5713, allocations: 177.3 kB / 0.8214 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.5715, allocations: 26.12 kB / 0.8215 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.5716, allocations: 72.22 kB / 0.8215 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.5717, allocations: 81.88 kB / 0.8216 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.5717, allocations: 6.938 kB / 0.8216 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.5719, allocations: 70.84 kB / 0.8217 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.068e-05/0.5719, allocations: 44.28 kB / 0.8217 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.734e-05/0.572, allocations: 70.27 kB / 0.8218 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.5723, allocations: 206.2 kB / 0.822 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5723, allocations: 4.703 kB / 0.822 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.535e-06/0.5723, allocations: 0 / 0.822 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.5723, allocations: 0 / 0.822 GB, free: 14.64 MB / 0.6198 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.0007127/0.573, allocations: 426.1 kB / 0.8224 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/0.5731, allocations: 9.656 kB / 0.8224 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.186e-05/0.5731, allocations: 46.11 kB / 0.8225 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.5732, allocations: 21.33 kB / 0.8225 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.5735, allocations: 197.6 kB / 0.8227 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.5735, allocations: 6.469 kB / 0.8227 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.5735, allocations: 11.84 kB / 0.8227 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.5738, allocations: 93.27 kB / 0.8228 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.5738, allocations: 0 / 0.8228 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.5738, allocations: 5.125 kB / 0.8228 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.5738, allocations: 2.312 kB / 0.8228 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.425e-05/0.5739, allocations: 33.52 kB / 0.8228 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005817/0.5745, allocations: 328.2 kB / 0.8231 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.5747, allocations: 73.72 kB / 0.8232 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.008e-05/0.5747, allocations: 29.55 kB / 0.8232 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.5748, allocations: 1.531 kB / 0.8232 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.5749, allocations: 83.19 kB / 0.8233 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.445e-06/0.5749, allocations: 0 / 0.8233 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003377/0.5753, allocations: 144.2 kB / 0.8234 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.5753, allocations: 78.67 kB / 0.8235 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.5756, allocations: 276 kB / 0.8238 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.5756, allocations: 27.02 kB / 0.8238 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.694e-05/0.5757, allocations: 124.8 kB / 0.8239 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.5757, allocations: 26.11 kB / 0.824 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.5758, allocations: 33.48 kB / 0.824 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.5759, allocations: 330.4 kB / 0.8243 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.359e-05/0.5759, allocations: 29.97 kB / 0.8243 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-05/0.576, allocations: 62.62 kB / 0.8244 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.847e-05/0.5761, allocations: 69.67 kB / 0.8245 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5761, allocations: 4.031 kB / 0.8245 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001616/0.5763, allocations: 114.8 kB / 0.8246 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.5763, allocations: 10.2 kB / 0.8246 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.5763, allocations: 1.406 kB / 0.8246 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.5763, allocations: 0 / 0.8246 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.269e-05/0.5764, allocations: 11.66 kB / 0.8246 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.5764, allocations: 1.375 kB / 0.8246 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.461e-05/0.5764, allocations: 13.53 kB / 0.8246 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.5764, allocations: 5.312 kB / 0.8246 GB, free: 12.52 MB / 0.6198 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.0001322/0.5766, allocations: 140.2 kB / 0.8247 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.5766, allocations: 18.02 kB / 0.8248 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002026/0.5768, allocations: 133.9 kB / 0.8249 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.5768, allocations: 3.359 kB / 0.8249 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5768, allocations: 0 / 0.8249 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.5768, allocations: 5.797 kB / 0.8249 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.577, allocations: 191.6 kB / 0.8251 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.577, allocations: 6.156 kB / 0.8251 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.26e-05/0.577, allocations: 12.44 kB / 0.8251 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.577, allocations: 3.938 kB / 0.8251 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.577, allocations: 2.25 kB / 0.8251 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.577, allocations: 0 / 0.8251 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.577, allocations: 1.719 kB / 0.8251 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.5772, allocations: 144.9 kB / 0.8252 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.5772, allocations: 17.52 kB / 0.8253 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.5773, allocations: 5.688 kB / 0.8253 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.955e-05/0.5773, allocations: 9.703 kB / 0.8253 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.5773, allocations: 8.094 kB / 0.8253 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.5773, allocations: 3.094 kB / 0.8253 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001646/0.5775, allocations: 198.3 kB / 0.8255 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5775, allocations: 3.938 kB / 0.8255 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001913/0.5777, allocations: 36.75 kB / 0.8255 GB, free: 11.86 MB / 0.6198 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.001069/0.5788, allocations: 0.9948 MB / 0.8265 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001838/0.5789, allocations: 76.5 kB / 0.8266 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5789, allocations: 1.375 kB / 0.8266 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.266e-05/0.579, allocations: 31.91 kB / 0.8266 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.5792, allocations: 45.09 kB / 0.8266 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.5811, allocations: 1.995 MB / 0.8286 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.5814, allocations: 0.725 MB / 0.8293 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.903e-05/0.5814, allocations: 22.8 kB / 0.8293 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.75e-05/0.5815, allocations: 53.98 kB / 0.8294 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of SimCode: time 7.61e-07/0.5815, allocations: 0 / 0.8294 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.6064, allocations: 4.791 MB / 0.834 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.622/7.228, allocations: 11.84 kB / 0.8341 GB, free: 7.988 MB / 0.6198 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.46099735214375] Failed to read output from testmodel.py, exit status != 0: 7.325353502063081 7.33534928 6.76106465 Calling exit ...