Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.001334/0.001334, allocations: 74.72 kB / 19.96 MB, free: 1.453 MB / 14.72 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.001512/0.001512, allocations: 175.2 kB / 23.24 MB, free: 4.184 MB / 14.72 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 1.384/1.384, allocations: 177.2 MB / 203.6 MB, free: 8.223 MB / 190.1 MB " [Timeout remaining time 178] 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 1.215/1.215, allocations: 154.7 MB / 414.7 MB, free: 6.508 MB / 382.1 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: translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.652e-05/1.652e-05, allocations: 2.281 kB / 0.6195 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001692/0.001709, allocations: 0.656 MB / 0.6201 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001588/0.003297, allocations: 1.113 MB / 0.6212 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.025e-05/0.003357, allocations: 0 / 0.6212 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.081e-05/0.003388, allocations: 5.344 kB / 0.6212 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.791e-05/0.003456, allocations: 3.938 kB / 0.6212 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.003757, allocations: 51.75 kB / 0.6213 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.003888, allocations: 74.62 kB / 0.6214 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.416e-05/0.003972, allocations: 8 kB / 0.6214 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.004102, allocations: 43.84 kB / 0.6214 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.622e-05/0.004159, allocations: 23.95 kB / 0.6214 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.00418, allocations: 11.94 kB / 0.6214 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.353e-05/0.004263, allocations: 25.83 kB / 0.6215 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.0001172/0.004381, allocations: 103.1 kB / 0.6216 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 4.062e-05/0.004421, allocations: 59.22 kB / 0.6216 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.252e-05/0.004444, allocations: 8 kB / 0.6216 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.135e-05/0.004455, allocations: 0 / 0.6216 GB, free: 2.266 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 (11) * Number of variables: 11 (11) Notification: Performance of [SIM] Bindings: time 0.0005883/0.005043, allocations: 415.2 kB / 0.622 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001606/0.005204, allocations: 85.05 kB / 0.6221 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of [SIM] Early Inline: time 0.0003282/0.005532, allocations: 280.1 kB / 0.6224 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of [SIM] Simplify 1: time 0.0001416/0.005674, allocations: 106.8 kB / 0.6225 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of [SIM] Alias: time 0.0005015/0.006175, allocations: 273.6 kB / 0.6227 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of [SIM] Simplify 2: time 0.0001133/0.006288, allocations: 94.41 kB / 0.6228 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of [SIM] Remove Stream: time 6.703e-05/0.006355, allocations: 60.34 kB / 0.6229 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of [SIM] Detect States: time 0.0002675/0.006623, allocations: 182.8 kB / 0.6231 GB, free: 416 kB / 0.5137 GB Notification: Performance of [SIM] Events: time 8.316e-05/0.006706, allocations: 38.55 kB / 0.6231 GB, free: 380 kB / 0.5137 GB Notification: Performance of [SIM] Partitioning: time 0.0002229/0.006929, allocations: 163.3 kB / 0.6232 GB, free: 184 kB / 0.5137 GB Notification: Performance of [SIM] Causalize: time 0.000312/0.007241, allocations: 180.8 kB / 0.6234 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002014/0.007442, allocations: 216.2 kB / 0.6236 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of [INI] Simplify: time 0.0003034/0.007746, allocations: 197.1 kB / 0.6238 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of [INI] Inline: time 0.0003164/0.008062, allocations: 322 kB / 0.6241 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of [INI] Partitioning: time 3.948e-05/0.008102, allocations: 20.05 kB / 0.6241 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of [INI] Cleanup: time 6.613e-05/0.008168, allocations: 59.94 kB / 0.6242 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of [INI] Causalize: time 0.0004623/0.00863, allocations: 295.8 kB / 0.6245 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of [INI] Tearing: time 1.235e-05/0.008642, allocations: 8 kB / 0.6245 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of [SIM] Initialization: time 6.91e-07/0.008643, allocations: 0.6562 kB / 0.6245 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of [SIM] Remove Dummies: time 6.302e-06/0.008649, allocations: 4.5 kB / 0.6245 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of [SIM] Tearing: time 6.712e-06/0.008656, allocations: 9 kB / 0.6245 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of [SIM] Categorize: time 7.975e-06/0.008664, allocations: 3.938 kB / 0.6245 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of [SIM] Solve: time 0.0001756/0.00884, allocations: 102.6 kB / 0.6246 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 7.334e-06/0.008847, allocations: 0 / 0.6246 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.31e-07/0.008847, allocations: 0 / 0.6246 GB, free: 14.71 MB / 0.5294 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 5 (5) {firOrdHol.c, firOrdHol.pre_uSample, firOrdHol.uSample, firOrdHol.tSample, firOrdHol.firstTrigger} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {firOrdHol.sampleTrigger, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:0, when:5, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 20 (scalar:20, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 8.785e-05/0.008935, allocations: 34.62 kB / 0.6246 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0006872/0.009622, allocations: 349.2 kB / 0.625 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of Templates: time 0.004018/0.01364, allocations: 0.9023 MB / 0.6258 GB, free: 13.48 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5691409930586815] Failed to read output from testmodel.py, exit status != 0: 0.021756406873464584 0.036950075 0.029439448000000003 Calling exit ...