Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008758/0.0008758, 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.0008809/0.0008809, 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.9083/0.9083, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7037/0.7037, allocations: 154.6 MB / 413.7 MB, free: 0.8008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.215e-05, allocations: 6.844 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002483/0.002506, allocations: 1.788 MB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.0039, allocations: 1.122 MB / 0.6209 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.004004, allocations: 3.938 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005691/0.004573, allocations: 171.5 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.004881, allocations: 155.3 kB / 0.6213 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.005185, allocations: 147.5 kB / 0.6214 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.005371, allocations: 175.5 kB / 0.6216 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.005473, allocations: 17.3 kB / 0.6216 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.005582, allocations: 91.73 kB / 0.6217 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.892e-05/0.005671, allocations: 67.84 kB / 0.6217 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.005689, allocations: 8 kB / 0.6217 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.005813, allocations: 75.81 kB / 0.6218 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.002e-05/0.005873, allocations: 43.84 kB / 0.6219 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.005921, allocations: 43.86 kB / 0.6219 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.006155, allocations: 203.4 kB / 0.6221 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.006157, allocations: 0 / 0.6221 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.92e-07/0.006158, allocations: 0 / 0.6221 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.006161, allocations: 0 / 0.6221 GB, free: 9.555 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.0005822/0.006744, allocations: 438.8 kB / 0.6225 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.006779, allocations: 11.97 kB / 0.6225 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.863e-05/0.006808, allocations: 38.75 kB / 0.6226 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.006848, allocations: 16.84 kB / 0.6226 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.007063, allocations: 189.4 kB / 0.6228 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.007074, allocations: 4.375 kB / 0.6228 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.007084, allocations: 4.375 kB / 0.6228 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.00721, allocations: 85.95 kB / 0.6228 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.007217, allocations: 0 / 0.6228 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.007227, allocations: 7.922 kB / 0.6229 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.007236, allocations: 7.938 kB / 0.6229 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.226e-05/0.007298, allocations: 35.98 kB / 0.6229 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.007703, allocations: 315.8 kB / 0.6232 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.007825, allocations: 74.59 kB / 0.6233 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.218e-05/0.007867, allocations: 40.78 kB / 0.6233 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.007881, allocations: 4 kB / 0.6233 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.007993, allocations: 75.39 kB / 0.6234 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.007994, allocations: 0 / 0.6234 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.00023/0.008224, allocations: 153.5 kB / 0.6235 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.00825, allocations: 51.41 kB / 0.6236 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.008452, allocations: 277.7 kB / 0.6238 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.008464, allocations: 25.7 kB / 0.6239 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.008523, allocations: 116.1 kB / 0.624 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.008546, allocations: 31.78 kB / 0.624 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.008579, allocations: 29.7 kB / 0.624 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.016e-05/0.008659, allocations: 334.8 kB / 0.6244 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.158e-05/0.008701, allocations: 31.92 kB / 0.6244 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.328e-05/0.008764, allocations: 78.77 kB / 0.6245 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.645e-05/0.008841, allocations: 73.7 kB / 0.6245 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.008843, allocations: 0 / 0.6245 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001186/0.008961, allocations: 117.9 kB / 0.6246 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.008974, allocations: 12.06 kB / 0.6247 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.00898, allocations: 7.922 kB / 0.6247 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.00899, allocations: 0 / 0.6247 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.475e-05/0.009045, allocations: 11.94 kB / 0.6247 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.009049, allocations: 112 / 0.6247 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.21e-05/0.009081, allocations: 11.89 kB / 0.6247 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.009089, allocations: 4 kB / 0.6247 GB, free: 6.676 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 9.317e-05/0.009182, allocations: 154.7 kB / 0.6248 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.009196, allocations: 11.91 kB / 0.6249 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.009359, allocations: 135.1 kB / 0.625 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.009366, allocations: 4 kB / 0.625 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.009371, allocations: 0 / 0.625 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.009375, allocations: 3.984 kB / 0.625 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.009507, allocations: 196.5 kB / 0.6252 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.009508, allocations: 4 kB / 0.6252 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.528e-05/0.009523, allocations: 4 kB / 0.6252 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.009524, allocations: 0 / 0.6252 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.009532, allocations: 0 / 0.6252 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.009533, allocations: 0 / 0.6252 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.009534, allocations: 0 / 0.6252 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.009667, allocations: 160.9 kB / 0.6253 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.00969, allocations: 23.86 kB / 0.6254 GB, free: 5.918 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.009708, allocations: 3.984 kB / 0.6254 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.236e-05/0.00973, allocations: 4 kB / 0.6254 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.009765, allocations: 7.922 kB / 0.6254 GB, free: 5.902 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.009775, allocations: 8 kB / 0.6254 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001301/0.009905, allocations: 199.5 kB / 0.6256 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009905, allocations: 0 / 0.6256 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001753/0.01008, allocations: 35.92 kB / 0.6256 GB, free: 5.664 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.001007/0.01109, allocations: 1.041 MB / 0.6266 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001573/0.01124, allocations: 75.91 kB / 0.6267 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01125, allocations: 0 / 0.6267 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.597e-05/0.01129, allocations: 35.98 kB / 0.6267 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.01148, allocations: 33.97 kB / 0.6268 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.013, allocations: 2.019 MB / 0.6287 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.314e-05/0.01307, allocations: 114.8 kB / 0.6288 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.094e-05/0.01312, allocations: 29.77 kB / 0.6289 GB, free: 2.406 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.428e-05/0.01318, allocations: 48.48 kB / 0.6289 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.01318, allocations: 0 / 0.6289 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.02904, allocations: 5.426 MB / 0.6342 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.959/6.988, allocations: 4 kB / 0.6342 GB, free: 13.04 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.682738669216633] Failed to read output from testmodel.py, exit status != 0: 7.0889895018190145 7.099559231 7.091197041 Calling exit ...