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.0008549/0.0008549, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.00162/0.00162, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9048/0.9048, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.7394/0.7394, 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 1.994e-06/1.994e-06, allocations: 0 / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.898e-05, allocations: 4.953 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001273/0.001292, allocations: 0.6624 MB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.002574, allocations: 1.221 MB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.747e-05/0.002631, allocations: 4 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.536e-05/0.002676, allocations: 3.938 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.036e-05/0.002767, allocations: 15.84 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006302/0.003397, allocations: 229.4 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.003609, allocations: 179.6 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.003713, allocations: 11.98 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.003836, allocations: 91.92 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.004037, allocations: 59.84 kB / 0.6205 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.004063, allocations: 12 kB / 0.6205 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.257e-05/0.004136, allocations: 27.98 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.004158, allocations: 12 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.706e-05/0.004215, allocations: 55.88 kB / 0.6206 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.0044, allocations: 183.6 kB / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.004403, allocations: 0 / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.72e-07/0.004403, allocations: 0 / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.004407, allocations: 0 / 0.6207 GB, free: 10.97 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.0004072/0.004815, allocations: 373.4 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.004853, allocations: 9.469 kB / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.59e-05/0.004879, allocations: 34.75 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.004921, allocations: 16.92 kB / 0.6212 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.674e-05/0.004998, allocations: 113.7 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.005016, allocations: 8.375 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.005036, allocations: 8.375 kB / 0.6213 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.94e-05/0.005135, allocations: 57.98 kB / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.005143, allocations: 0 / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.005152, allocations: 0 / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.005156, allocations: 0 / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.045e-05/0.005187, allocations: 15.98 kB / 0.6214 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.005587, allocations: 299.8 kB / 0.6216 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.99e-05/0.005657, allocations: 30.56 kB / 0.6217 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.212e-05/0.005679, allocations: 16.86 kB / 0.6217 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/0.005685, allocations: 4.094 kB / 0.6217 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.005817, allocations: 103.2 kB / 0.6218 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.005818, allocations: 4 kB / 0.6218 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002377/0.006056, allocations: 125.6 kB / 0.6219 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.00609, allocations: 51.41 kB / 0.622 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.101e-05/0.006161, allocations: 121.8 kB / 0.6221 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001608/0.006322, allocations: 33.7 kB / 0.6221 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/0.006368, allocations: 92.33 kB / 0.6222 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.006384, allocations: 23.88 kB / 0.6222 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.588e-05/0.006449, allocations: 49.69 kB / 0.6223 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.006526, allocations: 330.8 kB / 0.6226 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.006643, allocations: 119.4 kB / 0.6227 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.006768, allocations: 173.3 kB / 0.6229 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.006912, allocations: 181.3 kB / 0.623 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.006915, allocations: 4 kB / 0.623 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003093/0.007224, allocations: 352.2 kB / 0.6234 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.007261, allocations: 67.39 kB / 0.6234 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.007265, allocations: 0 / 0.6234 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.007277, allocations: 4 kB / 0.6234 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.018e-05/0.007317, allocations: 7.938 kB / 0.6234 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.007324, allocations: 4 kB / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.007561, allocations: 60.08 kB / 0.6235 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.007585, allocations: 15.98 kB / 0.6235 GB, free: 7.797 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.23e-05/0.007668, allocations: 134.7 kB / 0.6237 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.007679, allocations: 4 kB / 0.6237 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.007702, allocations: 8.438 kB / 0.6237 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.007705, allocations: 3.984 kB / 0.6237 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.00771, allocations: 0 / 0.6237 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.872e-06/0.007716, allocations: 4 kB / 0.6237 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.007961, allocations: 329.9 kB / 0.624 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.007962, allocations: 0 / 0.624 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.865e-06/0.00797, allocations: 4.094 kB / 0.624 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.007972, allocations: 3.938 kB / 0.624 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.007983, allocations: 4 kB / 0.624 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.007986, allocations: 3.984 kB / 0.624 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.007987, allocations: 0 / 0.624 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.008106, allocations: 199.4 kB / 0.6242 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-06/0.008113, allocations: 3.953 kB / 0.6242 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.008128, allocations: 4 kB / 0.6242 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.157e-05/0.008159, allocations: 4 kB / 0.6242 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.008188, allocations: 7.984 kB / 0.6242 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.008205, allocations: 11.92 kB / 0.6242 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.413e-05/0.00824, allocations: 91.28 kB / 0.6243 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00824, allocations: 0 / 0.6243 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001883/0.008428, allocations: 39.92 kB / 0.6243 GB, free: 6.875 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.0003302/0.008758, allocations: 0.728 MB / 0.6251 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002688/0.009027, allocations: 294 kB / 0.6253 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.009028, allocations: 0 / 0.6253 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.51e-05/0.009064, allocations: 28.25 kB / 0.6254 GB, free: 5.77 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.009267, allocations: 32.3 kB / 0.6254 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.0107, allocations: 2.109 MB / 0.6275 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.103e-05/0.01076, allocations: 80.25 kB / 0.6275 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.354e-05/0.01078, allocations: 4.734 kB / 0.6275 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.01081, allocations: 24.5 kB / 0.6276 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of SimCode: time 9.42e-07/0.01081, allocations: 0 / 0.6276 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01645/0.02727, allocations: 3.88 MB / 0.6313 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.859/6.886, allocations: 4.062 kB / 0.6314 GB, free: 15.64 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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.667908095754683] Failed to read output from testmodel.py, exit status != 0: 6.967927450314164 6.97989193 6.973631611 Calling exit ...