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.001183/0.001183, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001281/0.001281, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9233/0.9233, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.7069/0.7069, allocations: 154.5 MB / 413.7 MB, free: 0.8164 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 2.315e-06/2.315e-06, allocations: 3.938 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.891e-05, allocations: 7.391 kB / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002344/0.002363, allocations: 1.79 MB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.003721, allocations: 1.118 MB / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.53e-05/0.003816, allocations: 0 / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005635/0.00438, allocations: 167.4 kB / 0.6211 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.004676, allocations: 163.2 kB / 0.6212 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.004956, allocations: 146.9 kB / 0.6213 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.005148, allocations: 175.5 kB / 0.6215 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.22e-05/0.00524, allocations: 9.312 kB / 0.6215 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.005354, allocations: 99.72 kB / 0.6216 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.927e-05/0.005443, allocations: 67.8 kB / 0.6217 GB, free: 10 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.005461, allocations: 8 kB / 0.6217 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.005582, allocations: 67.88 kB / 0.6218 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.194e-05/0.005644, allocations: 43.84 kB / 0.6218 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/0.005689, allocations: 39.91 kB / 0.6218 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.005913, allocations: 215.2 kB / 0.622 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.005915, allocations: 4 kB / 0.622 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.352e-06/0.005917, allocations: 0 / 0.622 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.00592, allocations: 0 / 0.622 GB, free: 9.633 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.0005196/0.00644, allocations: 426.9 kB / 0.6225 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.006477, allocations: 13.47 kB / 0.6225 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.717e-05/0.006504, allocations: 38.73 kB / 0.6225 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.00654, allocations: 16.84 kB / 0.6225 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.006753, allocations: 197.2 kB / 0.6227 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.006767, allocations: 12.36 kB / 0.6227 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.006778, allocations: 4.375 kB / 0.6227 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.006906, allocations: 73.98 kB / 0.6228 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.006913, allocations: 0 / 0.6228 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.006921, allocations: 0 / 0.6228 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.00693, allocations: 4 kB / 0.6228 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.404e-05/0.006994, allocations: 39.91 kB / 0.6228 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.007363, allocations: 319.8 kB / 0.6231 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.00749, allocations: 74.66 kB / 0.6232 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.312e-05/0.007533, allocations: 44.72 kB / 0.6233 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.007546, allocations: 0 / 0.6233 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.007657, allocations: 83.38 kB / 0.6233 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.007659, allocations: 0 / 0.6233 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0002261/0.007885, allocations: 149.5 kB / 0.6235 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.007913, allocations: 51.41 kB / 0.6235 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.008094, allocations: 267.2 kB / 0.6238 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.008107, allocations: 33.7 kB / 0.6238 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.008167, allocations: 120.1 kB / 0.6239 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.008195, allocations: 31.78 kB / 0.624 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.008229, allocations: 29.7 kB / 0.624 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.88e-05/0.008308, allocations: 326.8 kB / 0.6243 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.974e-05/0.008348, allocations: 31.98 kB / 0.6243 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.11e-05/0.008409, allocations: 80.25 kB / 0.6244 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.07e-05/0.00849, allocations: 81.69 kB / 0.6245 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.008492, allocations: 0 / 0.6245 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001191/0.008611, allocations: 121.8 kB / 0.6246 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.008622, allocations: 8.062 kB / 0.6246 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.008627, allocations: 3.938 kB / 0.6246 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.008637, allocations: 4 kB / 0.6246 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.158e-05/0.008689, allocations: 11.98 kB / 0.6246 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.008693, allocations: 0 / 0.6246 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.242e-05/0.008726, allocations: 4 kB / 0.6246 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.008732, allocations: 7.938 kB / 0.6246 GB, free: 6.754 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.487e-05/0.008817, allocations: 142.8 kB / 0.6248 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.008833, allocations: 19.91 kB / 0.6248 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.008989, allocations: 135.1 kB / 0.6249 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.008995, allocations: 0 / 0.6249 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.008999, allocations: 4 kB / 0.6249 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.009002, allocations: 0 / 0.6249 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.009133, allocations: 196.5 kB / 0.6251 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.009134, allocations: 0 / 0.6251 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.792e-05/0.009152, allocations: 11.92 kB / 0.6251 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.009154, allocations: 0 / 0.6251 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.009161, allocations: 7.938 kB / 0.6251 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.22e-07/0.009162, allocations: 0 / 0.6251 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.009163, allocations: 0 / 0.6251 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.009289, allocations: 158.2 kB / 0.6253 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.86e-05/0.009308, allocations: 19.86 kB / 0.6253 GB, free: 6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.009323, allocations: 0 / 0.6253 GB, free: 6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.369e-05/0.009347, allocations: 7.984 kB / 0.6253 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.009377, allocations: 4 kB / 0.6253 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.009386, allocations: 7.984 kB / 0.6253 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001167/0.009503, allocations: 204.6 kB / 0.6255 GB, free: 5.781 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009503, allocations: 0 / 0.6255 GB, free: 5.781 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001648/0.009668, allocations: 35.92 kB / 0.6255 GB, free: 5.746 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.0009287/0.0106, allocations: 1.034 MB / 0.6266 GB, free: 4.898 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001481/0.01074, allocations: 79.89 kB / 0.6266 GB, free: 4.82 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01075, allocations: 0 / 0.6266 GB, free: 4.82 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.538e-05/0.01079, allocations: 31.98 kB / 0.6267 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.01097, allocations: 44.23 kB / 0.6267 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.01246, allocations: 2.023 MB / 0.6287 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.213e-05/0.01253, allocations: 114.8 kB / 0.6288 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.963e-05/0.01258, allocations: 17.48 kB / 0.6288 GB, free: 2.488 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.01265, allocations: 56.47 kB / 0.6289 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/0.01265, allocations: 0 / 0.6289 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.02972, allocations: 5.427 MB / 0.6342 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.304/7.334, allocations: 3.984 kB / 0.6342 GB, free: 13.11 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 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.04044200014323] Failed to read output from testmodel.py, exit status != 0: 7.433770211413503 7.445886948 7.437333497 Calling exit ...