Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.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.0008534/0.0008534, 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.0009449/0.0009449, allocations: 165.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.9142/0.9142, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7374/0.7374, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.207e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001255/0.001277, allocations: 0.6561 MB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.002432, allocations: 1.225 MB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.926e-05/0.002472, allocations: 0 / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.002503, allocations: 3.938 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.812e-05/0.002571, allocations: 23.78 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005071/0.003078, allocations: 225.3 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.003262, allocations: 175.7 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.073e-05/0.003353, allocations: 11.97 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.003462, allocations: 95.94 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.003562, allocations: 51.84 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.003588, allocations: 16 kB / 0.6205 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.865e-05/0.003646, allocations: 31.97 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.003668, allocations: 7.984 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.107e-05/0.00373, allocations: 59.89 kB / 0.6206 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.003919, allocations: 183.5 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003921, allocations: 7.938 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.243e-06/0.003923, allocations: 0 / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.003927, allocations: 0 / 0.6207 GB, free: 10.98 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004125/0.00434, allocations: 365.5 kB / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.004386, allocations: 13.47 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.238e-05/0.004419, allocations: 34.73 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.004469, allocations: 8.938 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.286e-05/0.004562, allocations: 109.8 kB / 0.6213 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.004588, allocations: 4.375 kB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.004613, allocations: 20.38 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.004724, allocations: 53.97 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.00473, allocations: 0 / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.004739, allocations: 0 / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.004744, allocations: 4 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.238e-05/0.004776, allocations: 15.92 kB / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.005194, allocations: 295.9 kB / 0.6216 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.496e-05/0.005268, allocations: 34.56 kB / 0.6217 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/0.005291, allocations: 16.94 kB / 0.6217 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.712e-06/0.005298, allocations: 0 / 0.6217 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.005457, allocations: 111.2 kB / 0.6218 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.005459, allocations: 0 / 0.6218 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002397/0.005698, allocations: 125.5 kB / 0.6219 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.005738, allocations: 63.39 kB / 0.622 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.204e-05/0.00581, allocations: 113.8 kB / 0.6221 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.005832, allocations: 29.7 kB / 0.6221 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.005885, allocations: 100.3 kB / 0.6222 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.005899, allocations: 15.91 kB / 0.6222 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-05/0.005966, allocations: 57.62 kB / 0.6223 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.44e-05/0.00605, allocations: 318.8 kB / 0.6226 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.006176, allocations: 127.4 kB / 0.6227 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.006312, allocations: 173.3 kB / 0.6229 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.00646, allocations: 185.3 kB / 0.623 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.006462, allocations: 0 / 0.623 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003289/0.006791, allocations: 348.3 kB / 0.6234 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/0.006835, allocations: 67.39 kB / 0.6234 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.006844, allocations: 4 kB / 0.6234 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.006858, allocations: 0 / 0.6234 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.787e-05/0.006916, allocations: 11.94 kB / 0.6234 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.006922, allocations: 4 kB / 0.6234 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.007119, allocations: 55.83 kB / 0.6235 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.007146, allocations: 20.05 kB / 0.6235 GB, free: 7.809 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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 9.12e-05/0.007237, allocations: 130.7 kB / 0.6236 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.007246, allocations: 4 kB / 0.6236 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.31e-05/0.007269, allocations: 12.42 kB / 0.6237 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.007272, allocations: 4 kB / 0.6237 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.007276, allocations: 0 / 0.6237 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.007279, allocations: 0 / 0.6237 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.00752, allocations: 325.5 kB / 0.624 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007521, allocations: 0 / 0.624 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.371e-06/0.007528, allocations: 480 / 0.624 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.007535, allocations: 8 kB / 0.624 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.007546, allocations: 3.984 kB / 0.624 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.007548, allocations: 0 / 0.624 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007549, allocations: 0 / 0.624 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.007679, allocations: 203.3 kB / 0.6242 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.007688, allocations: 7.953 kB / 0.6242 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.007702, allocations: 0 / 0.6242 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.953e-05/0.007741, allocations: 3.984 kB / 0.6242 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.007774, allocations: 8 kB / 0.6242 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.00779, allocations: 11.92 kB / 0.6242 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.869e-05/0.007829, allocations: 92.53 kB / 0.6243 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.007829, allocations: 4 kB / 0.6243 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001937/0.008022, allocations: 31.98 kB / 0.6243 GB, free: 6.898 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: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003911/0.008413, allocations: 0.7358 MB / 0.6251 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002949/0.008708, allocations: 290.1 kB / 0.6253 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.00871, allocations: 0 / 0.6253 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.994e-05/0.00875, allocations: 27.92 kB / 0.6254 GB, free: 5.789 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.008981, allocations: 38.78 kB / 0.6254 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.01062, allocations: 2.1 MB / 0.6274 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.357e-05/0.01067, allocations: 80.25 kB / 0.6275 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.746e-05/0.0107, allocations: 5.016 kB / 0.6275 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.01074, allocations: 28.48 kB / 0.6276 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.01074, allocations: 4 kB / 0.6276 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.03077, allocations: 3.885 MB / 0.6313 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.89/6.92, allocations: 1.875 kB / 0.6314 GB, free: 15.66 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.781229755841196] Failed to read output from testmodel.py, exit status != 0: 6.999100592918694 7.008420142 7.002271953 Calling exit ...