Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.0007655/0.0007655, allocations: 79.69 kB / 20.03 MB, free: 4.492 MB / 18.57 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.0007624/0.0007624, allocations: 165.3 kB / 23.33 MB, free: 1.191 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.8255/0.8255, allocations: 177.1 MB / 203.7 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03372/0.03372, allocations: 9.127 MB / 269.2 MB, free: 4.457 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000368/0.000368, allocations: 19.97 kB / 328.7 MB, free: 5.793 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.462/1.462, allocations: 274.9 MB / 0.6476 GB, free: 2.867 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 1.219 kB / 0.9294 GB, free: 20.96 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.295e-05/1.444e-05, allocations: 6.281 kB / 0.9294 GB, free: 20.96 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001051/0.001066, allocations: 0.6625 MB / 0.9301 GB, free: 20.55 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0008292/0.001895, allocations: 1.116 MB / 0.9312 GB, free: 19.74 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.998e-05/0.001935, allocations: 4 kB / 0.9312 GB, free: 19.74 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.179e-05/0.001957, allocations: 4.594 kB / 0.9312 GB, free: 19.73 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 5.989e-05/0.002017, allocations: 10.75 kB / 0.9312 GB, free: 19.73 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.002258, allocations: 57.72 kB / 0.9313 GB, free: 19.69 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 8.373e-05/0.002342, allocations: 65.7 kB / 0.9313 GB, free: 19.66 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 8.209e-05/0.002424, allocations: 16.86 kB / 0.9313 GB, free: 19.65 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 7.412e-05/0.002498, allocations: 34.2 kB / 0.9314 GB, free: 19.64 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 4.559e-05/0.002544, allocations: 27.86 kB / 0.9314 GB, free: 19.63 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.00256, allocations: 6.719 kB / 0.9314 GB, free: 19.63 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 5.431e-05/0.002614, allocations: 22.78 kB / 0.9314 GB, free: 19.62 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.002635, allocations: 24.98 kB / 0.9314 GB, free: 19.61 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.002664, allocations: 14.7 kB / 0.9315 GB, free: 19.6 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.002795, allocations: 92.19 kB / 0.9315 GB, free: 19.56 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.002798, allocations: 4 kB / 0.9316 GB, free: 19.56 MB / 0.7293 GB Notification: Performance of FrontEnd: time 9.92e-07/0.002799, allocations: 0 / 0.9316 GB, free: 19.56 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.075e-06/0.002802, allocations: 1.375 kB / 0.9316 GB, free: 19.56 MB / 0.7293 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004021/0.003204, allocations: 303.5 kB / 0.9318 GB, free: 19.28 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.47e-05/0.003238, allocations: 12.95 kB / 0.9319 GB, free: 19.27 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/0.003301, allocations: 9.312 kB / 0.9319 GB, free: 19.27 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.192e-05/0.003353, allocations: 119.1 kB / 0.932 GB, free: 19.13 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.003369, allocations: 7.25 kB / 0.932 GB, free: 19.13 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.003384, allocations: 6.344 kB / 0.932 GB, free: 19.13 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.003522, allocations: 81.41 kB / 0.9321 GB, free: 19.08 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.00353, allocations: 1.531 kB / 0.9321 GB, free: 19.08 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.003539, allocations: 9.016 kB / 0.9321 GB, free: 19.07 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.003544, allocations: 1.688 kB / 0.9321 GB, free: 19.07 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.003658, allocations: 57.23 kB / 0.9321 GB, free: 19.06 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.003948, allocations: 242.5 kB / 0.9324 GB, free: 18.84 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.004066, allocations: 76.2 kB / 0.9324 GB, free: 18.79 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.067e-05/0.004126, allocations: 38.03 kB / 0.9325 GB, free: 18.78 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.004146, allocations: 3.031 kB / 0.9325 GB, free: 18.78 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001137/0.004259, allocations: 98.55 kB / 0.9326 GB, free: 18.71 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.00426, allocations: 4 kB / 0.9326 GB, free: 18.7 MB / 0.7293 GB Notification: Performance of matching and sorting (n=10): time 0.0002909/0.004551, allocations: 168.8 kB / 0.9327 GB, free: 18.64 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.736e-05/0.004568, allocations: 59.67 kB / 0.9328 GB, free: 18.57 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.342e-05/0.004612, allocations: 109.6 kB / 0.9329 GB, free: 18.46 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.004623, allocations: 32.81 kB / 0.9329 GB, free: 18.43 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 2.224e-05/0.004645, allocations: 82.98 kB / 0.933 GB, free: 18.34 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.004663, allocations: 25.89 kB / 0.933 GB, free: 18.32 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.004696, allocations: 35.41 kB / 0.9331 GB, free: 18.3 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.629e-05/0.004722, allocations: 324.6 kB / 0.9334 GB, free: 17.98 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.324e-05/0.004785, allocations: 36.22 kB / 0.9334 GB, free: 17.97 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.059e-05/0.004856, allocations: 60.11 kB / 0.9335 GB, free: 17.93 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.004986, allocations: 103.5 kB / 0.9336 GB, free: 17.88 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004987, allocations: 1.297 kB / 0.9336 GB, free: 17.88 MB / 0.7293 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001711/0.005159, allocations: 144.8 kB / 0.9337 GB, free: 17.81 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.005171, allocations: 10.5 kB / 0.9337 GB, free: 17.8 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.005176, allocations: 1.562 kB / 0.9337 GB, free: 17.8 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.005187, allocations: 1.5 kB / 0.9337 GB, free: 17.8 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.536e-05/0.005263, allocations: 26.89 kB / 0.9337 GB, free: 17.8 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.005271, allocations: 1.312 kB / 0.9337 GB, free: 17.8 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.518e-05/0.005306, allocations: 19.98 kB / 0.9338 GB, free: 17.79 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.005314, allocations: 4.469 kB / 0.9338 GB, free: 17.79 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * 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 4.046e-05/0.005354, allocations: 120.3 kB / 0.9339 GB, free: 17.66 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-06/0.005363, allocations: 8.438 kB / 0.9339 GB, free: 17.66 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.005549, allocations: 152 kB / 0.934 GB, free: 17.59 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.005552, allocations: 1.125 kB / 0.934 GB, free: 17.59 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.005554, allocations: 0.7031 kB / 0.934 GB, free: 17.59 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.00556, allocations: 6.734 kB / 0.934 GB, free: 17.58 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.005574, allocations: 3.062 kB / 0.934 GB, free: 17.58 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.435e-05/0.005609, allocations: 8.984 kB / 0.9341 GB, free: 17.58 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.005644, allocations: 14.39 kB / 0.9341 GB, free: 17.57 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001765/0.005821, allocations: 219.7 kB / 0.9343 GB, free: 17.44 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000178/0.005999, allocations: 317.1 kB / 0.9346 GB, free: 17.2 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.814e-05/0.006067, allocations: 37.05 kB / 0.9346 GB, free: 17.19 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 1.665e-05/0.006083, allocations: 87.16 kB / 0.9347 GB, free: 17.11 MB / 0.7293 GB Notification: Performance of Backend: time 1.2e-07/0.006084, allocations: 0 / 0.9347 GB, free: 17.11 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.000306/0.00639, allocations: 145 kB / 0.9348 GB, free: 17.02 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0002708/0.00666, allocations: 0.5902 MB / 0.9354 GB, free: 16.43 MB / 0.7293 GB Notification: Performance of Templates: time 0.002604/0.009264, allocations: 1.298 MB / 0.9367 GB, free: 16.29 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.424367479979992] Failed to read output from testmodel.py, exit status != 0: 0.013176076114177704 0.02028245 0.016027061000000002 Calling exit ...