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.0008865/0.0008865, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008921/0.0008921, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9529/0.9529, allocations: 177.2 MB / 202.8 MB, free: 5.727 MB / 186.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.7371/0.7371, allocations: 154.6 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 3.366e-06/3.366e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.396e-05, allocations: 8.844 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.004001/0.004035, allocations: 1.792 MB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001969/0.006004, allocations: 1.114 MB / 0.6209 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.006129, allocations: 7.938 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006885/0.006818, allocations: 163.5 kB / 0.6211 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000429/0.007247, allocations: 155.3 kB / 0.6212 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.00766, allocations: 147.5 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003366/0.007997, allocations: 179.5 kB / 0.6215 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.008117, allocations: 13.3 kB / 0.6215 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.008295, allocations: 95.72 kB / 0.6216 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.008432, allocations: 63.86 kB / 0.6217 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.008458, allocations: 12 kB / 0.6217 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.008628, allocations: 71.81 kB / 0.6218 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.943e-05/0.008708, allocations: 43.84 kB / 0.6218 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.965e-05/0.008767, allocations: 35.88 kB / 0.6218 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.009083, allocations: 203.4 kB / 0.622 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.009087, allocations: 0 / 0.622 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.402e-06/0.009089, allocations: 0 / 0.622 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.009094, allocations: 0 / 0.622 GB, free: 9.637 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.0007264/0.00982, allocations: 442.8 kB / 0.6225 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.009864, allocations: 13.47 kB / 0.6225 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.577e-05/0.0099, allocations: 38.69 kB / 0.6225 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.306e-05/0.009953, allocations: 16.84 kB / 0.6225 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.01025, allocations: 189.4 kB / 0.6227 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.01027, allocations: 8.375 kB / 0.6227 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.01029, allocations: 4.375 kB / 0.6227 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.01047, allocations: 77.97 kB / 0.6228 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.01048, allocations: 0 / 0.6228 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.01049, allocations: 0 / 0.6228 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.0105, allocations: 4 kB / 0.6228 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.01061, allocations: 39.92 kB / 0.6228 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005306/0.01114, allocations: 323.7 kB / 0.6231 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.01134, allocations: 78.59 kB / 0.6232 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.685e-05/0.01141, allocations: 36.84 kB / 0.6232 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.01143, allocations: 0 / 0.6232 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.01161, allocations: 91.3 kB / 0.6233 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.01161, allocations: 0 / 0.6233 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0003639/0.01198, allocations: 145.5 kB / 0.6235 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.01201, allocations: 51.41 kB / 0.6235 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.01231, allocations: 275.2 kB / 0.6238 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.01232, allocations: 25.7 kB / 0.6238 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.0124, allocations: 120.1 kB / 0.6239 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.01243, allocations: 31.78 kB / 0.624 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.01248, allocations: 25.72 kB / 0.624 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.0126, allocations: 334.8 kB / 0.6243 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.495e-05/0.01267, allocations: 27.98 kB / 0.6243 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.01278, allocations: 84.2 kB / 0.6244 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.01291, allocations: 73.69 kB / 0.6245 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.01291, allocations: 0 / 0.6245 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00021/0.01312, allocations: 121.5 kB / 0.6246 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.01314, allocations: 6.188 kB / 0.6246 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.01315, allocations: 4.438 kB / 0.6246 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.01316, allocations: 0 / 0.6246 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.422e-05/0.01325, allocations: 15.94 kB / 0.6246 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.01325, allocations: 0 / 0.6246 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.384e-05/0.01332, allocations: 19.88 kB / 0.6246 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.01333, allocations: 0 / 0.6246 GB, free: 6.746 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 0.0001315/0.01346, allocations: 142.8 kB / 0.6248 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.01349, allocations: 20.02 kB / 0.6248 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004789/0.01397, allocations: 123.1 kB / 0.6249 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.01398, allocations: 15.92 kB / 0.6249 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.01398, allocations: 0 / 0.6249 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.01399, allocations: 4 kB / 0.6249 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.01419, allocations: 196.5 kB / 0.6251 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.01419, allocations: 0 / 0.6251 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.01423, allocations: 8 kB / 0.6251 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.01423, allocations: 0 / 0.6251 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.01424, allocations: 7.984 kB / 0.6251 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.01425, allocations: 3.984 kB / 0.6251 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01425, allocations: 0 / 0.6251 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.01449, allocations: 152.9 kB / 0.6253 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.01452, allocations: 27.84 kB / 0.6253 GB, free: 5.984 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.01455, allocations: 0 / 0.6253 GB, free: 5.984 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.973e-05/0.0146, allocations: 4 kB / 0.6253 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.01464, allocations: 11.98 kB / 0.6253 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.01465, allocations: 3.938 kB / 0.6253 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002023/0.01485, allocations: 208.6 kB / 0.6255 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.21e-07/0.01485, allocations: 0 / 0.6255 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002938/0.01515, allocations: 27.94 kB / 0.6255 GB, free: 5.734 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.001461/0.01661, allocations: 1.04 MB / 0.6266 GB, free: 4.883 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.01683, allocations: 67.91 kB / 0.6266 GB, free: 4.816 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.01683, allocations: 0 / 0.6266 GB, free: 4.816 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.199e-05/0.01692, allocations: 35.98 kB / 0.6267 GB, free: 4.781 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.01722, allocations: 39.95 kB / 0.6267 GB, free: 4.746 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.01952, allocations: 2.025 MB / 0.6287 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.01963, allocations: 122.8 kB / 0.6288 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.111e-05/0.01971, allocations: 17.48 kB / 0.6288 GB, free: 2.477 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.277e-05/0.0198, allocations: 48.48 kB / 0.6289 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of SimCode: time 4.21e-07/0.0198, allocations: 7.938 kB / 0.6289 GB, free: 2.422 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/0.03926, allocations: 5.419 MB / 0.6342 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.02/7.059, allocations: 9.438 kB / 0.6342 GB, free: 13.1 MB / 0.6042 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: 9.994863208383322] Failed to read output from testmodel.py, exit status != 0: 7.165197506546974 7.181179054 7.16876231 Calling exit ...