Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.001248/0.001248, allocations: 76.2 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.001345/0.001345, allocations: 169.5 kB / 23.23 MB, free: 4.207 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.314/1.314, allocations: 177.2 MB / 203.6 MB, free: 8.23 MB / 190.1 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 1.162/1.162, allocations: 154.7 MB / 414.7 MB, free: 6.492 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.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.784e-05, allocations: 5.125 kB / 0.6195 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004199/0.004217, allocations: 2.484 MB / 0.6219 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.005669, allocations: 0.7516 MB / 0.6226 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.005787, allocations: 9.031 kB / 0.6227 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.007095, allocations: 0.5352 MB / 0.6232 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.007406, allocations: 108.7 kB / 0.6233 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.007743, allocations: 109.5 kB / 0.6234 GB, free: 440 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003845/0.008127, allocations: 278.9 kB / 0.6237 GB, free: 164 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000335/0.008462, allocations: 114.3 kB / 0.6238 GB, free: 44 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.008706, allocations: 155.7 kB / 0.6239 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.008942, allocations: 63.8 kB / 0.624 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.008971, allocations: 9.562 kB / 0.624 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.009157, allocations: 79.72 kB / 0.6241 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.000249/0.009406, allocations: 226.1 kB / 0.6243 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.0001293/0.009535, allocations: 139.4 kB / 0.6244 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.588e-05/0.009571, allocations: 16 kB / 0.6244 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.269e-05/0.009594, allocations: 0 / 0.6244 GB, free: 15.37 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 (27) * Number of variables: 37 (25) Notification: Performance of [SIM] Bindings: time 0.001003/0.0106, allocations: 0.7283 MB / 0.6251 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002446/0.01084, allocations: 154.4 kB / 0.6253 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.0006151/0.01146, allocations: 0.5078 MB / 0.6258 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 0.0001902/0.01165, allocations: 121 kB / 0.6259 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of [SIM] Alias: time 0.001404/0.01305, allocations: 0.8952 MB / 0.6268 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 2: time 0.0001366/0.01319, allocations: 105.1 kB / 0.6269 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of [SIM] Remove Stream: time 7.273e-05/0.01326, allocations: 55.11 kB / 0.6269 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 0.0001976/0.01346, allocations: 160.9 kB / 0.6271 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 3.017e-05/0.01349, allocations: 15.92 kB / 0.6271 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 0.0002357/0.01372, allocations: 172.5 kB / 0.6273 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of [SIM] Causalize: time 0.000505/0.01423, allocations: 335 kB / 0.6276 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002185/0.01445, allocations: 219.7 kB / 0.6278 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of [INI] Simplify: time 0.0002942/0.01474, allocations: 174.7 kB / 0.6279 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of [INI] Inline: time 0.0004012/0.01514, allocations: 379.6 kB / 0.6283 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of [INI] Partitioning: time 1.894e-05/0.01516, allocations: 12.12 kB / 0.6283 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of [INI] Cleanup: time 0.0001259/0.01529, allocations: 103.9 kB / 0.6284 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of [INI] Causalize: time 0.001069/0.01636, allocations: 0.7254 MB / 0.6291 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of [INI] Tearing: time 1.884e-05/0.01638, allocations: 18.31 kB / 0.6291 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of [SIM] Initialization: time 6.21e-07/0.01638, allocations: 0 / 0.6291 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of [SIM] Remove Dummies: time 4.569e-06/0.01638, allocations: 0 / 0.6291 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of [SIM] Tearing: time 5.651e-06/0.01639, allocations: 8 kB / 0.6292 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of [SIM] Categorize: time 7.484e-06/0.01639, allocations: 0 / 0.6292 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of [SIM] Solve: time 0.0002797/0.01667, allocations: 171 kB / 0.6293 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 6.973e-06/0.01668, allocations: 0 / 0.6293 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of [SIM] Minimize Homotopy System: time 2.615e-06/0.01668, allocations: 0 / 0.6293 GB, free: 9.73 MB / 0.5294 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 0 (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: ........... 12 (scalar:10, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3, 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: ........... 13 (scalar:11, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 13 (scalar:11, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.133e-05/0.01673, allocations: 32.67 kB / 0.6293 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of SimCode: time 0.001229/0.01796, allocations: 0.7872 MB / 0.6301 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of Templates: time 0.004496/0.02246, allocations: 1.314 MB / 0.6314 GB, free: 7.656 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./IDEAS_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.376493997871876] Failed to read output from testmodel.py, exit status != 0: 0.03048238903284073 0.043906142 0.031407750000000005 Calling exit ...