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.0007687/0.0007687, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008184/0.0008184, allocations: 209.2 kB / 22.24 MB, free: 3.59 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 0.948/0.948, allocations: 230.6 MB / 256 MB, free: 9.582 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.827/0.827, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.0007917/0.0007917, allocations: 66.47 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6316/0.6324, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003241/0.6356, allocations: 1.793 MB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001934/0.6375, allocations: 1.124 MB / 0.8206 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.6376, allocations: 1.406 kB / 0.8206 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000805/0.6385, allocations: 175.9 kB / 0.8208 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004101/0.6389, allocations: 152.6 kB / 0.821 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.6393, allocations: 137.8 kB / 0.8211 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002828/0.6396, allocations: 183.3 kB / 0.8213 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.6398, allocations: 23.11 kB / 0.8213 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.6399, allocations: 75.38 kB / 0.8214 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.64, allocations: 75.88 kB / 0.8214 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.6401, allocations: 9.25 kB / 0.8214 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.6402, allocations: 68.55 kB / 0.8215 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.713e-05/0.6403, allocations: 45.11 kB / 0.8215 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.755e-05/0.6404, allocations: 43.02 kB / 0.8216 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.6407, allocations: 210.9 kB / 0.8218 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.6408, allocations: 0 / 0.8218 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.427e-06/0.6408, allocations: 1.344 kB / 0.8218 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.6408, allocations: 4 kB / 0.8218 GB, free: 14.57 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.0007612/0.6415, allocations: 431.2 kB / 0.8222 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.6416, allocations: 9.844 kB / 0.8222 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.6416, allocations: 37.34 kB / 0.8222 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.6417, allocations: 21.25 kB / 0.8223 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.642, allocations: 192.5 kB / 0.8225 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.642, allocations: 11.17 kB / 0.8225 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.642, allocations: 10.22 kB / 0.8225 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.6422, allocations: 76.83 kB / 0.8225 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.6422, allocations: 7.938 kB / 0.8226 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.6422, allocations: 0 / 0.8226 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.6422, allocations: 3.312 kB / 0.8226 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.818e-05/0.6423, allocations: 37.72 kB / 0.8226 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.6428, allocations: 323.8 kB / 0.8229 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.6429, allocations: 68.91 kB / 0.823 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.072e-05/0.643, allocations: 30.95 kB / 0.823 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.643, allocations: 1.375 kB / 0.823 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.6432, allocations: 90.3 kB / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.974e-06/0.6432, allocations: 0 / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003264/0.6435, allocations: 143.8 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.6435, allocations: 57.5 kB / 0.8233 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.6438, allocations: 278.9 kB / 0.8235 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.6439, allocations: 26.41 kB / 0.8236 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.632e-05/0.644, allocations: 125.9 kB / 0.8237 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.644, allocations: 25.44 kB / 0.8237 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.896e-05/0.644, allocations: 25.31 kB / 0.8237 GB, free: 13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6442, allocations: 330 kB / 0.8241 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.148e-05/0.6442, allocations: 31.97 kB / 0.8241 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.762e-05/0.6443, allocations: 80.14 kB / 0.8242 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.6444, allocations: 75.88 kB / 0.8242 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6444, allocations: 3.938 kB / 0.8242 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001787/0.6446, allocations: 121.6 kB / 0.8244 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.6446, allocations: 5.406 kB / 0.8244 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.6447, allocations: 0 / 0.8244 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.6447, allocations: 1.531 kB / 0.8244 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.603e-05/0.6448, allocations: 15.2 kB / 0.8244 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.6448, allocations: 1.219 kB / 0.8244 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.94e-05/0.6448, allocations: 21.33 kB / 0.8244 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.6448, allocations: 3.031 kB / 0.8244 GB, free: 12.47 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.0001409/0.645, allocations: 140.2 kB / 0.8245 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.645, allocations: 14.88 kB / 0.8245 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.6453, allocations: 130.7 kB / 0.8247 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.6453, allocations: 8.094 kB / 0.8247 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.6453, allocations: 0 / 0.8247 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.6453, allocations: 9.516 kB / 0.8247 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.6455, allocations: 189.5 kB / 0.8249 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6455, allocations: 0 / 0.8249 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.6455, allocations: 5.828 kB / 0.8249 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.6455, allocations: 0 / 0.8249 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.6456, allocations: 11 kB / 0.8249 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.6456, allocations: 0.5156 kB / 0.8249 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6456, allocations: 0 / 0.8249 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005565/0.6461, allocations: 159.5 kB / 0.825 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.695e-05/0.6461, allocations: 18.05 kB / 0.8251 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.6462, allocations: 6.188 kB / 0.8251 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.072e-05/0.6462, allocations: 7.875 kB / 0.8251 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.6463, allocations: 9.625 kB / 0.8251 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.6463, allocations: 4.391 kB / 0.8251 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001934/0.6465, allocations: 198.5 kB / 0.8253 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6465, allocations: 0 / 0.8253 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002251/0.6467, allocations: 28.58 kB / 0.8253 GB, free: 11.83 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 (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.001313/0.648, allocations: 1.037 MB / 0.8263 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.6482, allocations: 80.06 kB / 0.8264 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.6482, allocations: 1.312 kB / 0.8264 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.635e-05/0.6483, allocations: 38.45 kB / 0.8264 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.6485, allocations: 44.66 kB / 0.8265 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.6506, allocations: 2.007 MB / 0.8284 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.6508, allocations: 117.5 kB / 0.8285 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000104/0.6509, allocations: 27.11 kB / 0.8286 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.651, allocations: 49.92 kB / 0.8286 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of SimCode: time 1.152e-06/0.651, allocations: 0 / 0.8286 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.6735, allocations: 5.277 MB / 0.8338 GB, free: 8.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.687/7.36, allocations: 8.266 kB / 0.8338 GB, free: 8.066 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.501472735777497] Failed to read output from testmodel.py, exit status != 0: 7.456660887692124 7.467816875 6.824865174 Calling exit ...