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.000806/0.000806, 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.0008045/0.0008045, 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.9067/0.9067, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.7324/0.7324, allocations: 154.6 MB / 413.8 MB, free: 0.7773 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.653e-06/1.653e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.974e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002286/0.002306, allocations: 1.803 MB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.003707, allocations: 1.122 MB / 0.621 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.364e-05/0.0038, allocations: 3.938 kB / 0.621 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005559/0.004356, allocations: 167.5 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.004665, allocations: 155.3 kB / 0.6213 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.00498, allocations: 143.5 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003798/0.00536, allocations: 183.4 kB / 0.6216 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.005485, allocations: 13.31 kB / 0.6216 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.005644, allocations: 99.72 kB / 0.6217 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.005755, allocations: 63.86 kB / 0.6218 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.005777, allocations: 8 kB / 0.6218 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.005922, allocations: 67.83 kB / 0.6218 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.713e-05/0.005999, allocations: 47.83 kB / 0.6219 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.264e-05/0.006051, allocations: 31.88 kB / 0.6219 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.006326, allocations: 211.3 kB / 0.6221 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.00633, allocations: 4 kB / 0.6221 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.483e-06/0.006332, allocations: 0 / 0.6221 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.006339, allocations: 0 / 0.6221 GB, free: 9.512 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.0007168/0.007056, allocations: 438.8 kB / 0.6225 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.007109, allocations: 12.03 kB / 0.6225 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.007143, allocations: 34.75 kB / 0.6226 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.007196, allocations: 20.83 kB / 0.6226 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.007451, allocations: 189.4 kB / 0.6228 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.007464, allocations: 8.375 kB / 0.6228 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.007475, allocations: 4.375 kB / 0.6228 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.007609, allocations: 85.52 kB / 0.6229 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.007617, allocations: 0 / 0.6229 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.007626, allocations: 0 / 0.6229 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.007636, allocations: 4 kB / 0.6229 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.01e-05/0.007706, allocations: 39.97 kB / 0.6229 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.008178, allocations: 315.8 kB / 0.6232 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.008324, allocations: 74.61 kB / 0.6233 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.008368, allocations: 36.84 kB / 0.6233 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.008384, allocations: 3.938 kB / 0.6233 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.008513, allocations: 87.36 kB / 0.6234 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/0.008515, allocations: 0 / 0.6234 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0002522/0.008767, allocations: 145.5 kB / 0.6235 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.008797, allocations: 51.41 kB / 0.6236 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.008993, allocations: 277.7 kB / 0.6239 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.009008, allocations: 29.7 kB / 0.6239 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.009073, allocations: 116.1 kB / 0.624 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.009099, allocations: 35.72 kB / 0.624 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.009134, allocations: 25.72 kB / 0.624 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.009237, allocations: 334.8 kB / 0.6244 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.585e-05/0.009283, allocations: 27.98 kB / 0.6244 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.146e-05/0.009355, allocations: 80.27 kB / 0.6245 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.876e-05/0.009443, allocations: 73.69 kB / 0.6245 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.009446, allocations: 3.938 kB / 0.6245 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003374/0.009784, allocations: 125.8 kB / 0.6247 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.009801, allocations: 6.031 kB / 0.6247 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.009808, allocations: 4.062 kB / 0.6247 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.009823, allocations: 7.938 kB / 0.6247 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.349e-05/0.009886, allocations: 8 kB / 0.6247 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.009893, allocations: 0 / 0.6247 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.139e-05/0.009935, allocations: 7.984 kB / 0.6247 GB, free: 6.641 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.009945, allocations: 4 kB / 0.6247 GB, free: 6.637 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.0001152/0.01006, allocations: 146.8 kB / 0.6248 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.01008, allocations: 15.91 kB / 0.6249 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.01028, allocations: 143.1 kB / 0.625 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.01029, allocations: 0 / 0.625 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.01029, allocations: 4 kB / 0.625 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.0103, allocations: 0 / 0.625 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.01046, allocations: 192.5 kB / 0.6252 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01046, allocations: 3.984 kB / 0.6252 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.056e-05/0.01048, allocations: 4 kB / 0.6252 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.01048, allocations: 0 / 0.6252 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.0105, allocations: 11.98 kB / 0.6252 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.0105, allocations: 0 / 0.6252 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.0105, allocations: 0 / 0.6252 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.01065, allocations: 160.8 kB / 0.6254 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.492e-05/0.01068, allocations: 23.84 kB / 0.6254 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.01069, allocations: 0 / 0.6254 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.314e-05/0.01072, allocations: 4 kB / 0.6254 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.01076, allocations: 7.984 kB / 0.6254 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.128e-06/0.01077, allocations: 4 kB / 0.6254 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001326/0.0109, allocations: 207.5 kB / 0.6256 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.0109, allocations: 0 / 0.6256 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001888/0.01109, allocations: 27.94 kB / 0.6256 GB, free: 5.625 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.001129/0.01222, allocations: 1.037 MB / 0.6266 GB, free: 4.773 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.0124, allocations: 75.91 kB / 0.6267 GB, free: 4.699 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.0124, allocations: 0 / 0.6267 GB, free: 4.699 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.966e-05/0.01245, allocations: 35.92 kB / 0.6267 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.01267, allocations: 38.28 kB / 0.6268 GB, free: 4.633 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.01468, allocations: 2.014 MB / 0.6287 GB, free: 2.531 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.914e-05/0.01477, allocations: 118.8 kB / 0.6289 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.551e-05/0.01483, allocations: 21.78 kB / 0.6289 GB, free: 2.375 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.041e-05/0.0149, allocations: 52.48 kB / 0.6289 GB, free: 2.324 MB / 0.5886 GB Notification: Performance of SimCode: time 7.41e-07/0.01491, allocations: 0 / 0.6289 GB, free: 2.324 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.0344, allocations: 5.43 MB / 0.6342 GB, free: 13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.957/6.991, allocations: 4 kB / 0.6342 GB, free: 13 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 & python3 -m fmpy simulate --output-file IDEAS_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_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.894805961288512] Failed to read output from testmodel.py, exit status != 0: 7.091213006526232 7.100226406 7.091925069 Calling exit ...