Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008457/0.0008457, 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.0009774/0.0009774, allocations: 170.3 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.9439/0.9439, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 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 0.7478/0.7478, allocations: 154.6 MB / 413.8 MB, free: 0.8125 MB / 378.7 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.404e-05/1.611e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001289/0.001305, allocations: 0.6586 MB / 0.6187 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.002557, allocations: 1.232 MB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.34e-05/0.0026, allocations: 3.938 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.154e-05/0.002632, allocations: 7.984 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.443e-05/0.002696, allocations: 7.875 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005363/0.003233, allocations: 230.1 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.003424, allocations: 175.7 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.003524, allocations: 11.98 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.003641, allocations: 95.86 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.003748, allocations: 51.84 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.003775, allocations: 16 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.262e-05/0.003838, allocations: 31.98 kB / 0.6206 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.003862, allocations: 19.97 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.003915, allocations: 43.91 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.004122, allocations: 195.5 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.004123, allocations: 0 / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.453e-06/0.004125, allocations: 0 / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.004129, allocations: 0 / 0.6208 GB, free: 10.88 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.0004278/0.004557, allocations: 365.5 kB / 0.6212 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.004595, allocations: 8.031 kB / 0.6212 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.72e-05/0.004622, allocations: 42.67 kB / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.004659, allocations: 4.938 kB / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.821e-05/0.004728, allocations: 113.8 kB / 0.6213 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.004747, allocations: 12.38 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.004767, allocations: 8.375 kB / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.085e-05/0.004858, allocations: 53.98 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.004865, allocations: 0 / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.004875, allocations: 4 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.00488, allocations: 0 / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.051e-05/0.004911, allocations: 19.92 kB / 0.6214 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.005318, allocations: 291.9 kB / 0.6217 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.307e-05/0.005391, allocations: 38.55 kB / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.005413, allocations: 12.94 kB / 0.6217 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.162e-06/0.005419, allocations: 8 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/0.005563, allocations: 107.2 kB / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.005564, allocations: 0 / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002289/0.005793, allocations: 129.6 kB / 0.622 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.005829, allocations: 55.39 kB / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.648e-05/0.005905, allocations: 117.8 kB / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.005928, allocations: 29.7 kB / 0.6222 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.005997, allocations: 96.31 kB / 0.6223 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.006014, allocations: 15.91 kB / 0.6223 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.906e-05/0.006083, allocations: 57.69 kB / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.239e-05/0.006175, allocations: 326.8 kB / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.006304, allocations: 123.4 kB / 0.6228 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.006452, allocations: 165.3 kB / 0.6229 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.006613, allocations: 189.3 kB / 0.6231 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.006616, allocations: 0 / 0.6231 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003445/0.00696, allocations: 356.2 kB / 0.6234 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.939e-05/0.00701, allocations: 73.36 kB / 0.6235 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.007016, allocations: 0 / 0.6235 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.007031, allocations: 4 kB / 0.6235 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.788e-05/0.007078, allocations: 4 kB / 0.6235 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.007087, allocations: 4 kB / 0.6235 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.007277, allocations: 59.98 kB / 0.6236 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.007301, allocations: 15.98 kB / 0.6236 GB, free: 7.703 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 8.706e-05/0.007388, allocations: 130.7 kB / 0.6237 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-06/0.007395, allocations: 0 / 0.6237 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.007423, allocations: 16.42 kB / 0.6237 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.007425, allocations: 0 / 0.6237 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.00743, allocations: 0 / 0.6237 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.007434, allocations: 0 / 0.6237 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.00767, allocations: 325.9 kB / 0.624 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.007672, allocations: 4 kB / 0.624 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-06/0.007676, allocations: 4 kB / 0.624 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.007678, allocations: 96 / 0.624 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.007686, allocations: 7.922 kB / 0.6241 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007687, allocations: 4 kB / 0.6241 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007688, allocations: 0 / 0.6241 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.007809, allocations: 195.4 kB / 0.6242 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.686e-06/0.007818, allocations: 11.95 kB / 0.6243 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.00783, allocations: 0 / 0.6243 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.972e-05/0.007869, allocations: 7.984 kB / 0.6243 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.007901, allocations: 4 kB / 0.6243 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.007917, allocations: 19.92 kB / 0.6243 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.936e-05/0.007956, allocations: 94.33 kB / 0.6244 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.007956, allocations: 0 / 0.6244 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001911/0.008147, allocations: 36 kB / 0.6244 GB, free: 6.785 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.000346/0.008493, allocations: 0.7387 MB / 0.6251 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002652/0.008758, allocations: 290.1 kB / 0.6254 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.00876, allocations: 0 / 0.6254 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.599e-05/0.008796, allocations: 28.23 kB / 0.6254 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.009003, allocations: 24.3 kB / 0.6255 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.01061, allocations: 2.111 MB / 0.6275 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.29e-05/0.01068, allocations: 76.2 kB / 0.6276 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.657e-05/0.01072, allocations: 8.734 kB / 0.6276 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.01076, allocations: 32.48 kB / 0.6276 GB, free: 3.227 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/0.01076, allocations: 0 / 0.6276 GB, free: 3.227 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.02855, allocations: 3.879 MB / 0.6314 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.829/6.857, allocations: 2.531 kB / 0.6314 GB, free: 15.55 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.726884414441884] Failed to read output from testmodel.py, exit status != 0: 6.939521238207817 6.955142622 6.948382694 Calling exit ...