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/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.03852/0.03852, allocations: 9.136 MB / 28.23 MB, free: 1.105 MB / 18.57 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/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.0007576/0.0007576, allocations: 104.4 kB / 34.43 MB, free: 1.504 MB / 24.77 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/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.0008529/0.0008529, allocations: 164.2 kB / 40.72 MB, free: 1.754 MB / 24.77 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/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.8845/0.8845, allocations: 177.1 MB / 224.1 MB, free: 8.832 MB / 202.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 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004119/0.004119, allocations: 0.8339 MB / 284.3 MB, free: 15.58 MB / 266.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.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.483/1.483, allocations: 274.9 MB / 0.6045 GB, free: 15.75 MB / 0.5105 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.996e-06/2.996e-06, allocations: 0 / 0.8877 GB, free: 1.012 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.465e-05, allocations: 3.922 kB / 0.8877 GB, free: 1.008 MB / 0.7137 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001411/0.001436, allocations: 0.6573 MB / 0.8883 GB, free: 356 kB / 0.7137 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.002647, allocations: 1.112 MB / 0.8894 GB, free: 15.22 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.201e-05/0.002709, allocations: 0 / 0.8894 GB, free: 15.22 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.00274, allocations: 3.938 kB / 0.8894 GB, free: 15.22 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 6.657e-05/0.002807, allocations: 3.984 kB / 0.8894 GB, free: 15.21 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.003102, allocations: 55.75 kB / 0.8895 GB, free: 15.16 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.003202, allocations: 71.78 kB / 0.8896 GB, free: 15.09 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 9.763e-05/0.0033, allocations: 11.97 kB / 0.8896 GB, free: 15.08 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 8.21e-05/0.003382, allocations: 39.97 kB / 0.8896 GB, free: 15.04 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 4.855e-05/0.00343, allocations: 27.89 kB / 0.8896 GB, free: 15.01 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.003448, allocations: 8 kB / 0.8896 GB, free: 15 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 6.027e-05/0.003508, allocations: 19.98 kB / 0.8897 GB, free: 14.98 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.00353, allocations: 19.91 kB / 0.8897 GB, free: 14.96 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.003562, allocations: 19.98 kB / 0.8897 GB, free: 14.95 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.003706, allocations: 95.59 kB / 0.8898 GB, free: 14.85 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003708, allocations: 4 kB / 0.8898 GB, free: 14.85 MB / 0.7293 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003709, allocations: 0 / 0.8898 GB, free: 14.85 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.003713, allocations: 0 / 0.8898 GB, free: 14.85 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.0004511/0.004164, allocations: 306.1 kB / 0.8901 GB, free: 14.52 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.004203, allocations: 11.98 kB / 0.8901 GB, free: 14.5 MB / 0.7293 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.253e-05/0.004236, allocations: 42.73 kB / 0.8901 GB, free: 14.45 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.746e-05/0.004303, allocations: 4.938 kB / 0.8901 GB, free: 14.45 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.74e-05/0.004381, allocations: 113.7 kB / 0.8903 GB, free: 14.31 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.0044, allocations: 12.38 kB / 0.8903 GB, free: 14.3 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.004411, allocations: 4.375 kB / 0.8903 GB, free: 14.3 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.004566, allocations: 82.14 kB / 0.8903 GB, free: 14.21 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.004572, allocations: 192 / 0.8903 GB, free: 14.21 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.004583, allocations: 8.312 kB / 0.8904 GB, free: 14.2 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.004589, allocations: 8.125 kB / 0.8904 GB, free: 14.2 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.004708, allocations: 47.95 kB / 0.8904 GB, free: 14.15 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.005079, allocations: 263.9 kB / 0.8907 GB, free: 13.85 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.00521, allocations: 82.47 kB / 0.8907 GB, free: 13.76 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.908e-05/0.005279, allocations: 44.83 kB / 0.8908 GB, free: 13.71 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.005297, allocations: 3.938 kB / 0.8908 GB, free: 13.71 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.005427, allocations: 91.36 kB / 0.8909 GB, free: 13.61 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=10): time 1.113e-06/0.005428, allocations: 0 / 0.8909 GB, free: 13.61 MB / 0.7293 GB Notification: Performance of matching and sorting (n=10): time 0.0003108/0.005739, allocations: 173.7 kB / 0.891 GB, free: 13.43 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.005774, allocations: 59.39 kB / 0.8911 GB, free: 13.36 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.217e-05/0.005837, allocations: 105.8 kB / 0.8912 GB, free: 13.25 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.005852, allocations: 37.69 kB / 0.8912 GB, free: 13.2 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.005887, allocations: 84.38 kB / 0.8913 GB, free: 13.11 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.005908, allocations: 31.72 kB / 0.8913 GB, free: 13.08 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002928/0.006201, allocations: 29.72 kB / 0.8914 GB, free: 13.05 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 7.15e-05/0.006273, allocations: 318.8 kB / 0.8917 GB, free: 12.73 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.306e-05/0.006346, allocations: 40.34 kB / 0.8917 GB, free: 12.69 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.563e-05/0.006421, allocations: 62.55 kB / 0.8918 GB, free: 12.62 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.006557, allocations: 95.52 kB / 0.8919 GB, free: 12.52 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.006559, allocations: 112 / 0.8919 GB, free: 12.52 MB / 0.7293 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001888/0.006748, allocations: 154.9 kB / 0.892 GB, free: 12.36 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.006764, allocations: 12.06 kB / 0.892 GB, free: 12.35 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.006769, allocations: 0 / 0.892 GB, free: 12.35 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.006782, allocations: 0 / 0.892 GB, free: 12.35 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.352e-05/0.006865, allocations: 23.98 kB / 0.892 GB, free: 12.32 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.006871, allocations: 3.984 kB / 0.892 GB, free: 12.32 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.573e-05/0.006907, allocations: 19.88 kB / 0.8921 GB, free: 12.3 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.006918, allocations: 8 kB / 0.8921 GB, free: 12.29 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 6.728e-05/0.006985, allocations: 119.5 kB / 0.8922 GB, free: 12.17 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.006996, allocations: 11.92 kB / 0.8922 GB, free: 12.16 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.007203, allocations: 146 kB / 0.8923 GB, free: 12.01 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.007206, allocations: 3.984 kB / 0.8923 GB, free: 12 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.00721, allocations: 0 / 0.8923 GB, free: 12 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.007214, allocations: 0 / 0.8923 GB, free: 12 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/0.007544, allocations: 377.5 kB / 0.8927 GB, free: 11.59 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.007546, allocations: 0 / 0.8927 GB, free: 11.59 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.755e-05/0.007583, allocations: 15.97 kB / 0.8927 GB, free: 11.57 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.007586, allocations: 7.938 kB / 0.8927 GB, free: 11.56 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.007593, allocations: 4 kB / 0.8927 GB, free: 11.56 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.007595, allocations: 0 / 0.8927 GB, free: 11.56 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007596, allocations: 0 / 0.8927 GB, free: 11.56 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.007786, allocations: 243.3 kB / 0.893 GB, free: 11.3 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-06/0.007795, allocations: 4.531 kB / 0.893 GB, free: 11.3 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.007808, allocations: 0 / 0.893 GB, free: 11.3 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.453e-05/0.007863, allocations: 19.98 kB / 0.893 GB, free: 11.28 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.007899, allocations: 7.922 kB / 0.893 GB, free: 11.27 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.007906, allocations: 8 kB / 0.893 GB, free: 11.27 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 2.865e-05/0.007935, allocations: 87.27 kB / 0.8931 GB, free: 11.18 MB / 0.7293 GB Notification: Performance of sort global known variables: time 6e-08/0.007935, allocations: 0 / 0.8931 GB, free: 11.18 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.0001667/0.008102, allocations: 19.94 kB / 0.8931 GB, free: 11.16 MB / 0.7293 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004117/0.008514, allocations: 0.7748 MB / 0.8939 GB, free: 10.36 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.008694, allocations: 99.81 kB / 0.894 GB, free: 10.26 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.008696, allocations: 4 kB / 0.894 GB, free: 10.26 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 7.172e-05/0.008767, allocations: 47.97 kB / 0.894 GB, free: 10.21 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.008958, allocations: 4 kB / 0.894 GB, free: 10.21 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.01018, allocations: 1.513 MB / 0.8955 GB, free: 8.605 MB / 0.7293 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.564e-05/0.01022, allocations: 75.58 kB / 0.8956 GB, free: 8.512 MB / 0.7293 GB Notification: Performance of simCode: alias equations: time 3.234e-05/0.01025, allocations: 4.5 kB / 0.8956 GB, free: 8.508 MB / 0.7293 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.01029, allocations: 20.48 kB / 0.8956 GB, free: 8.488 MB / 0.7293 GB Notification: Performance of SimCode: time 6.41e-07/0.01029, allocations: 0 / 0.8956 GB, free: 8.488 MB / 0.7293 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08938/0.09968, allocations: 2.88 MB / 0.8984 GB, free: 5.781 MB / 0.7293 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.07/7.169, allocations: 12.48 kB / 0.8984 GB, free: 5.777 MB / 0.7293 GB " [Timeout remaining time 653] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --mode=me --timeout=240 --tolerance=1e-06 ../AixLib_AixLib_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold.fmu) > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 252.0] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold_OMSimulator-cs-cvode.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold_OMSimulator-cs-cvode.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --mode=cs --timeout=240 --tolerance=1e-06 ../AixLib_AixLib_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold_OMSimulator-cs-cvode.fmu) > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold_OMSimulator-cs-euler.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold_OMSimulator-cs-euler.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --mode=cs --timeout=240 --tolerance=1e-06 ../AixLib_AixLib_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold_OMSimulator-cs-euler.fmu) > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold_fmpy.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold_fmpy.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../AixLib_AixLib_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold.fmu) > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold_fmpy.pipe 2>&1) [Timeout 252.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 11.757150204852223]